#I need help on how to preserve the color of a mob after it spawns from an item.

1 messages · Page 1 of 1 (latest)

finite ore
#

If you want Lusk a few elements that can help you with that, in fact you won't even need to store things separately

#

Get the entity snapshot string NBT of the entity with this expression https://skripthub.net/docs/?id=12676

Then store it in the NBT of the item:applescript set string tag "catcher;entitySnapshot" of custom nbt of {_item} to {_entitySnapshotNBT}

Then when you get it back use this expression to get it back as an entity snapshot with this expression https://skripthub.net/docs/?id=13014

And then you can spawn it with this effect https://skripthub.net/docs/?id=12616 or with Skript's if you're using skript 2.10

#

Be aware that the NBT of entities may change when updating the Minecraft version and if that's the case they will break

noble grail
#

uiineplayer

deep onyx
#

@finite ore

I managed to do it the way you said, but now when capturing a mob, its name inside the item is shown as <none>, I’m confused.

finite ore
deep onyx
finite ore
#

ai is not allowed here

#

show me though

deep onyx
#

I dropped the code above in the link.