介绍
Passengers from Spawn Eggs
This pack fixes the bug where spawn eggs do not allow mobs to spawn with passengers.
To acheive this, the pack uses marker entities’ data NBT component.
The tree of the data needed to be used looks like this:
id:"minecraft:marker",data:{replace_with_entity:{id:"<namespaced_id: entity>",nbt:<compound: entity data>}}
Here is an example for a spider jockey:
/give @p skeleton_spawn_egg[entity_data={id:"minecraft:marker",data:{replace_with_entity:{id:"minecraft:spider",nbt:{Passengers:[{id:"minecraft:skeleton",HandItems:[{id:"minecraft:bow"}]}],active_effects:[{id:"minecraft:strength",duration:-1}]}}}},item_name='"Spider Jockey Spawn Egg"'] 1
ℹ️ IMPORTANT ℹ️
These examples work successfully in 1.21 to 1.21.4 (1.21.x – current).
Hope this data pack helps!
常见问题
Passengers from Spawn Eggs 支持哪些 Minecraft 版本?
Passengers from Spawn Eggs 支持 Minecraft Java 版 1.21–26.1.2,共 10 个版本。下载时注意选择和你游戏版本一致的文件。
Passengers from Spawn Eggs 怎么安装?
新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。
Xhaelen 的其他作品
查看全部 →
Biome Intros
See an invitation to every biome or structure you come across, and review past encounters in the advancements screen, all in vanilla.
Biome Intros (Lang)
Provides the translation keys for the Biome Intros data pack, made by Xhaelan.
Programmatic Command Blocks
Replaces the off-centre command block texture eyesore with an industrial and techy style that is actually symmetrical.
Specific Songs
Makes all songs from the soundtrack availible for the /playsound command.
评论
登录后评论和评分