Started by
xavier23
on
Topic category: Help with Minecraft modding (Java Edition)
Hello there! I am currently working on a Frozen Zombie in my Minecraft mod, and I was just curious if there was any way to make an entity transform into another if it was on a specific block for a long period of time, similar to when a Skeleton transforms into a Stray if it is in powder snow. For instance, I was aiming to make Zombies transform into this new type of Zombie if it was in/on a block such as powder snow for about 30 seconds. Thank you for your help; have a great day!
on loaded entity tick update
if block exists at x y z
wait 30 seconds
check if entity is still on block
if so, kill the entity, and spawn the new one
as for INSIDE, thats more complicated