@Override public void close() { super.close(); if (this.linkedEntity instanceof Player) { this.linkedEntity.riding = null; } SmokeParticle particle = new SmokeParticle(this); this.level.addParticle(particle); }