cn.nukkit.entity.EntityRideable Maven / Gradle / Ivy
package cn.nukkit.entity;
/**
* @author MagicDroidX (Nukkit Project)
*/
public interface EntityRideable {
/**
* Mount or Dismounts an Entity from a rideable entity
*
* @param entity The target Entity
* @return {@code true} if the mounting successful
*/
boolean mountEntity(Entity entity);
boolean dismountEntity(Entity entity);
}