这是什么?
这个数据包帮助你控制物品展示框,通过简化通常用于它们的复杂命令来实现。
例如,通常情况下,要将最靠近你手部的物品展示框的物品设置为:
/item replace entity @e[type=minecraft:item_display,limit=1,sort=nearest] container.0 from entity @s weapon
但有了这个数据包,你可以简单地使用:
/trigger displayItem
请注意,这个数据包并不是特别对生存模式/非管理员友好,虽然我会尝试制作一些无需管理员权限的命令,但这并非我的优先事项。
如何使用?
所有命令
/trigger displaySpawn
/trigger displayItem
/trigger displayKill
/trigger displayRot
/trigger displayOffset
/trigger displayScale
为什么?
为什么不直接使用物品展示框呢?我听到你在问。嗯,当使用自定义模型数据和物品展示框时,如果物品展示框本身不可见,大于一个方块的模型会消失。然而,这个问题在使用物品展示框时不会发生!
简短视频展示了物品展示框的缺点:
想了解更多吗?
简短视频展示了该数据包的运行效果:
如需更详细的教程,请参阅此视频
通过这些高度可定制的展示框,你可以在 Minecraft 建筑中添加复杂的细节,只需很少的命令知识!
展示框 大多数情况下 也适用于方块,但如果方块的物品模型与其方块模型不同,则无法正确显示。为此,你需要使用方块展示框。遗憾的是,我尚未实现方块展示框。
What?
This datapack helps you control item displays, by simplifing the complicated commands often used with them.
For example, normally to set the item of the item display nearest to your hand you would use:
/item replace entity @e[type=minecraft:item_display,limit=1,sort=nearest] container.0 from entity @s weapon
but with the datapack you can simply do:
/trigger displayItem
Note that this datapack isn't really survival/non-admin friendly, and while I will try to make some commands admin-free it isnt my priority.
How?
All Commands
/trigger displaySpawn
- summons a item display centered on the current block
/trigger displayItem
- sets the item displays item to display to the players held item
/trigger displayKill
- kills the nearest display within 5 blocks
/trigger displayRot
- sends a message to the player in chat with buttons to control the displays rotation
/trigger displayOffset
- sends a message to the player in chat with buttons to control the displays position
/trigger displayScale
- sends a message in chat to control the scale of the display
Why?
Why not just use item frames, I hear you ask? Well, when using custom model data and item frames, models larger than a block disappear when the item frame itself isn't visible. This problem, however, does not occur with item displays!
Short video showing the downsides of item frames:
Tell me more!
Short video showing the datapack in action:
For a more proper tutorial, see this video
With these highly customisable item displays, you can add intricate details to your minecraft builds, with a minimum of command knowledge!
Item displays mostly work for blocks as well, however blocks with a different item model to their block model won't display correctly. For this, you need a block display. Unfortunatly, I haven't implemented block displays yet.
评论 0
登录后参与评分
还没有评论,来抢沙发吧