Started by
Megidora
on
Topic category: Help with Minecraft modding (Java Edition)
So, I have a hat that gives you ability to summon special entities that will fight for you(wolf reskins basically), but I want to limit the amount of summons to lets say 2, I tried to do this via the global variable and if statement, but I have a problem, I dont know how to lower the variable when the entity dies, I will be very thankful to anyone who will help me with this issue
Procedure with global trigger when entity dies. If entity is sub type of (your mob) lower the value.
Yeah, but this work only in singleplayer, but I want this work in multiplayer also