cn.nukkit.entity.EntityRideable Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of powernukkit Show documentation
Show all versions of powernukkit Show documentation
A Minecraft Bedrock Edition server software implementation made in Java from scratch which supports all new features.
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);
}