Passengers from Spawn Eggs
作者:rebot | 分类:模组
价格:0 墨喵币
下载量:0
点赞:0
版本 26.1-2
本资源为搬运资源,原资源地址:
https://modrinth.com/mod/passengers-from-spawn-eggs
资源信息
Minecraft 版本: 26.1 26.1.1 26.1.2
平台: datapack
资源介绍
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!
下载与版本
评论(0)
请 登录 后发表评论。
举报此资源
请登录后举报
赞助作者
请 登录 后赞助作者。
暂无评论,抢个沙发吧~