Changed: MC Mod

Changed: MC Mod

156k Downloads

When Heal a Tame ChangedEntity Spawn Particles?

Foxyas opened this issue ยท 2 comments

commented

Add Hearts Particles for when you Heal a Tame Changed entity?

commented

I make this code and test with my addon and work very fine but idk if you will want to use =/

// Rest of the code up ^
this.heal(2.0F);
 if (this.level instanceof ServerLevel _level){
                        _level.sendParticles(ParticleTypes.HEART, (this.getX()), (this.getY() + 1), (this.getZ()), 7, 0.3, 0.3, 0.3, 1); //Spawn Heal Particles
                    }                    
// Rest of the code Down v
commented

Added in 0933ccb