Passengers from Spawn Eggs

Passengers from Spawn Eggs

Data pack

Makes the Passenger NBT work for entities in spawn eggs.

Server

59 downloads
1 follower
Follow Save

Updated Syntax to be snake_case (1.21.4)

Changelog

The red highlight over pack selection and the 'incompatable' warning is no more.

The two small changes made are:

  • The spawnData tag is now replace_with_entity
  • The entity_data tag is now nbt

The wording changes were made for better understandability, and the casing change was made to conform with the current migration from camelCase or PascalCase to snake_case.

Spider Jockey Example:

/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

Or with just the 'data' NBT (unchanged):

{replace_with_entity:{id:"minecraft:spider",nbt:{Passengers:[{id:"minecraft:skeleton",HandItems:[{id:"minecraft:bow"}]}],active_effects:[{id:"minecraft:strength",duration:-1}]}}}

Files

passengers_from_spawn_eggs_1.21.4.zip(2.07 KiB) Primary Download

Project members

TheKnytemayor

Member

Details

Licensed ARR
Published a year ago
Updated a month ago