Compatibility
Minecraft: Java Edition
Platforms
Creators
Details
介紹 Introduce
該數據包修復了刷怪蛋無法讓生物與它的乘客一起生成的問題。現在,透過設定刷怪蛋使用後生成的實體的NBT資料Passengers
即可讓刷怪蛋在使用後同時生成乘客。 This data pack fixes an issue where spawn eggs wouldn't spawn both a mob and its passengers. Now, by configuring the "Passengers" NBT data for the entity spawned by using a spawn egg, you can now spawn both a passenger and the mob.
以蜘蛛騎士為例 Take Spider Jockey as an example
/give @s minecraft:spider_spawn_egg[minecraft:entity_data={id:"minecraft:spider",Passengers:[{id:"minecraft:skeleton",equipment:{mainhand:{id:"bow"}}}]}]
關於原本的刷怪蛋裡的乘客 About the original Passengers from Spawn Eggs
本數據包是參考刷怪蛋裡的乘客的功能來製作的,之所以要製作2.0版本,是因為原版並沒有辦法透過直接設定NBT資料Passengers
來使刷怪蛋同時生成乘客,我認為沒有完全解決問題,2.0版本則對於該問題做出完美修復。 This data pack is based on the functionality of Passengers from Spawn Eggs. Version 2.0 was created because the original version did not allow passengers to be spawned from spawn eggs by directly setting the NBT data Passengers
. I believe this did not completely solve the problem. Version 2.0 provides a perfect fix for this problem.