我的世界原地永远不会消失物品制作教程 3D版立体坠地掉落物
我的世界里面如何设置一个在原地永远不会消失的物品呢?这个东西还是比较神奇的吧,其实我们可以利用命令方块制作出这样的东西哦,今天游戏园小编就为大家带来了我的世界3D立体坠地掉落物的制作教程,希望大家能够喜欢!
1.8能达到自定义3D效果,本篇能达到立体掉落物而不是旋转的贴图掉落物。
效果:方块:
一块普通的石头
扔出去
掉落在地上的物品不是旋转的、有阴影的贴图制物品,而是一个不会懂没阴影的立体小方块
我的世界里面如何设置一个在原地永远不会消失的物品呢?这个东西还是比较神奇的吧,其实我们可以利用命令方块制作出这样的东西哦,今天游戏园小编就为大家带来了我的世界3D立体坠地掉落物的制作教程,希望大家能够喜欢!
1.8能达到自定义3D效果,本篇能达到立体掉落物而不是旋转的贴图掉落物。
效果:方块:
一块普通的石头
扔出去
掉落在地上的物品不是旋转的、有阴影的贴图制物品,而是一个不会懂没阴影的立体小方块
移动到物品上同样能捡起
物品:
一块普通的钻石
扔出去
丢出去直接坠地,不是浮空状,符合物理
走上去同样捡起物品
原理:
全部原理
坠地物品模板:
利用盔甲架实现3D方块,由于智能手持物品,所以只能用到以下方式
物品:
/summon ArmorStand ~ ~0.7 ~ {Equipment:[{id:"minecraft:物品名"},{},{},{},{}],Pose:{Body:[0.0F,0.0F,0.0F],LeftArm:[0.0F,0.0F,0.0F],RightArm:[0.0F,0.0F,0.0F],LeftLeg:[270.0F,0.0F,0.0F],RightLeg:[270.0F,0.0F,0.0F],Head:[0.0F,0.0F,0.0F]},NoGravity:1b,NoBasePlate:1b,Invisible:1b,DisabledSlots:2069869,ShowArms:0b,Small:0b}
方块
/summon ArmorStand ~ ~0.85 ~ {Equipment:[{id:"minecraft:方块名"},{},{},{},{}],Pose:{Body:[0.0F,0.0F,0.0F],LeftArm:[0.0F,0.0F,0.0F],RightArm:[346.0F,0.0F,0.0F],LeftLeg:[270.0F,0.0F,0.0F],RightLeg:[270.0F,0.0F,0.0F],Head:[0.0F,0.0F,0.0F]},NoGravity:1b,NoBasePlate:1b,Invisible:1b,DisabledSlots:2069869,ShowArms:0b,Small:0b}
对固定选择器执行:
物品:
/execute @p ~0.3 ~ ~-0.4 summon ArmorStand ~ ~-0.75 ~ {Equipment:[{id:"minecraft:物品名"},{},{},{},{}],Pose:{Body:[0.0F,0.0F,0.0F],LeftArm:[0.0F,0.0F,0.0F],RightArm:[0.0F,0.0F,0.0F],LeftLeg:[270.0F,0.0F,0.0F],RightLeg:[270.0F,0.0F,0.0F],Head:[0.0F,0.0F,0.0F]},NoGravity:1b,NoBasePlate:1b,Invisible:1b,DisabledSlots:2069869,ShowArms:0b,Small:0b}
方块:
/execute @p ~0.3 ~ ~-0.4 summon ArmorStand ~ ~-0.6 ~ {Equipment:[{id:"minecraft:方块名"},{},{},{},{}],Pose:{Body:[0.0F,0.0F,0.0F],LeftArm:[0.0F,0.0F,0.0F],RightArm:[346.0F,0.0F,0.0F],LeftLeg:[270.0F,0.0F,0.0F],RightLeg:[270.0F,0.0F,0.0F],Head:[0.0F,0.0F,0.0F]},NoGravity:1b,NoBasePlate:1b,Invisible:1b,DisabledSlots:2069869,ShowArms:0b,Small:0b}
主原理区。
首先需要计分板探测物品:
/scoreboard objectives add item dummy
添加物品判据
生成区:
/scoreboard players set @e[type=Item] item n {Item:{id:"minecraft:掉落物名"},OnGround:1b}
为物品设置盘踞方便执行命令
红色利用比较器输出黄色:
因为充能信号,所以先执行:
/execute @e[type=Item,score_item_min=n,score_item=n] ~模板x值 ~模板y值 ~模板z值 summon ArmorStand ~ ~ ~ {Equipment:[{id:"minecraft:掉落物名"},{},{},{},{}],Pose:{Body:[0.0F,0.0F,0.0F],LeftArm:[0.0F,0.0F,0.0F],RightArm:[346.0F,0.0F,0.0F],LeftLeg:[270.0F,0.0F,0.0F],RightLeg:[270.0F,0.0F,0.0F],Head:[0.0F,0.0F,0.0F]},NoGravity:1b,NoBasePlate:1b,Invisible:1b,DisabledSlots:2069869,ShowArms:0b,Small:0b,CustomName:"掉落物名"}
然后执行:
/tp @e[type=Item,score_item_min=n,score_item=n] 指定坐标
用于暂存物品
回收区:
由于红是信号大小差异,先执行信号大的:
绿色:
/execute @e[name=stone,type=ArmorStand] ~-模板x值 ~-模板y值 ~-模板z值 execute @a[r=1] ~ ~ ~ tp @e[type=Item,score_item_min=n,score_item=n] @p
当玩家达到与3D物品重合,将原来物品tp给玩家
橙色:
/execute @e[name=掉落物名,type=ArmorStand] ~-模板x值 ~-模板y值 ~-模板z值 execute @a[r=1] ~ ~ ~ kill @e[type=ArmorStand,name=掉落物名,r=2]
精品推荐
相关文章
更多+热门搜索
手游排行榜
- 最新排行
- 最热排行
- 评分最高
-
休闲益智 大小:37.5 MB
-
冒险解谜 大小:153M
-
商务办公 大小:445.36MB
-
角色扮演 大小:93.55MB
-
其他游戏 大小:40.65MB