use of cn.nukkit.level.particle.SmokeParticle in project Nukkit by Nukkit.
the class EntityMinecartAbstract method close.
@Override
public void close() {
super.close();
if (linkedEntity instanceof Player) {
linkedEntity.riding = null;
linkedEntity = null;
}
SmokeParticle particle = new SmokeParticle(this);
level.addParticle(particle);
}
use of cn.nukkit.level.particle.SmokeParticle in project Nukkit by Nukkit.
the class EntityBoat method close.
@Override
public void close() {
super.close();
if (this.linkedEntity instanceof Player) {
this.linkedEntity.riding = null;
}
SmokeParticle particle = new SmokeParticle(this);
this.level.addParticle(particle);
}
Aggregations