#stringify and load an entity

1 messages · Page 1 of 1 (latest)

next crystal
#

i want to recreate a pokeball, so i was wondering if there's a way to load a stringified entity so I can despawn and spawn it later

neat oak
#

if you don't want to use structure just get all it's data and copy those data to the new spawned ebtity

#

tags, name, dynamic property, entity properties, armor's etc.

#

there's no way to load a stringified mob since spawnEntity only accepts id

#

unlike ItemStack you can load it by saving it in an object or array then directly put the ItemStack for the spawnItem.

mortal knoll
#

@next crystal

did you create the mechanism for projectile ball

next crystal
mortal knoll
#

uh 👍🏽