Started by
lucascastro
on
Topic category: Help with Minecraft modding (Java Edition)
So, I’m trying to create an entity with fake scaling. Basically, I created 3 entities, one for each size, and I want to spawn another entity and despawning the current one to make it look like the entity is getting bigger.
The problem is that I have a local variable of type number that represents the entity’s “hunger level”, and I want that when i spawn the other entity, this “hunger level” value is assigned to another local number variable in the spawned entity, which also represents a hunger level.
In short, I want to get the entity I just spawned and make one of its variables have the same value as my current variable.
How can I do this? I’m using MCreator 2024.4.