Started by
DEPSEL0N
on
Topic category: Help with Minecraft modding (Java Edition)
In this procedure, highlighted in red, it does not work (the texture of the mob is not replaced according to the block on which it spawns), and the default texture is used. How can this be fixed? Literally, the procedure works like this: when the mob spawns, it must check which block it spawns on and if it spawns on earth blocks or mud blocks, it replaces its texture. But the problem is that the texture is not replaced with ground blocks. And how to replace the earth blocks with a group of earth blocks so that the lands from other mods can work
Edited by DEPSEL0N on Tue, 10/29/2024 - 06:31
You should probably set the nbts to false when they are so. Eg when the texture is changed to mud make the nbt dirt to false. Thats why its restarting. From what I can see of your procedure, if thats on tick update, its going to constantly play the animations. I guess your using that bottom if block to stop that from happening but its just uneccesary if you set the nbts to false as the next ones become true.
I dont know what your talking about the rain block? Your using a block which gets if entity is in water/rain/bubble column?
You could get if it is raining in the world, because if it is then its raining/snowing everywhere other than hot biomes. However the one your using is the only one which determines whether its being rained on.
Yes, everything is working now. Thank you very much!
This is warning. Use entity synced data instead to sync between server and client
What needs to be done in order for entities to synchronize data, to synchronize between the server and the client? Which block should be changed?
Define synced data in the entity editor.
Then use procedure blocks to set and get said data