Java 类net.minecraft.server.EntityBoat 实例源码

项目:SpigotSource    文件:CraftBoat.java   
public static TreeSpecies getTreeSpecies(EntityBoat.EnumBoatType boatType) {
    switch (boatType) {
        case SPRUCE:
            return TreeSpecies.REDWOOD;
        case BIRCH:
            return TreeSpecies.BIRCH;
        case JUNGLE:
            return TreeSpecies.JUNGLE;
        case ACACIA:
            return TreeSpecies.ACACIA;
        case DARK_OAK:
            return TreeSpecies.DARK_OAK;
        case OAK:
        default:
            return TreeSpecies.GENERIC;
    }
}
项目:SpigotSource    文件:CraftBoat.java   
public static EntityBoat.EnumBoatType getBoatType(TreeSpecies species) {
    switch (species) {
        case REDWOOD:
            return EntityBoat.EnumBoatType.SPRUCE;
        case BIRCH:
            return EntityBoat.EnumBoatType.BIRCH;
        case JUNGLE:
            return EntityBoat.EnumBoatType.JUNGLE;
        case ACACIA:
            return EntityBoat.EnumBoatType.ACACIA;
        case DARK_OAK:
            return EntityBoat.EnumBoatType.DARK_OAK;
        case GENERIC:
        default:
            return EntityBoat.EnumBoatType.OAK;
    }
}
项目:CraftBukkit    文件:CraftBoat.java   
public CraftBoat(CraftServer server, EntityBoat entity) {
    super(server, entity);
}
项目:CraftBukkit    文件:CraftBoat.java   
@Override
public EntityBoat getHandle() {
    return (EntityBoat) entity;
}
项目:Craftbukkit    文件:CraftBoat.java   
public CraftBoat(CraftServer server, EntityBoat entity) {
    super(server, entity);
}
项目:Craftbukkit    文件:CraftBoat.java   
@Override
public EntityBoat getHandle() {
    return (EntityBoat) entity;
}
项目:Almura-Server    文件:CraftBoat.java   
public CraftBoat(CraftServer server, EntityBoat entity) {
    super(server, entity);
}
项目:Almura-Server    文件:CraftBoat.java   
@Override
public EntityBoat getHandle() {
    return (EntityBoat) entity;
}
项目:Tweakkit-Server    文件:CraftBoat.java   
public CraftBoat(CraftServer server, EntityBoat entity) {
    super(server, entity);
}
项目:Tweakkit-Server    文件:CraftBoat.java   
@Override
public EntityBoat getHandle() {
    return (EntityBoat) entity;
}
项目:SpigotSource    文件:CraftBoat.java   
public CraftBoat(CraftServer server, EntityBoat entity) {
    super(server, entity);
}
项目:SpigotSource    文件:CraftBoat.java   
@Override
public EntityBoat getHandle() {
    return (EntityBoat) entity;
}
项目:Craft-city    文件:CraftBoat.java   
public CraftBoat(CraftServer server, EntityBoat entity) {
    super(server, entity);
}
项目:Craft-city    文件:CraftBoat.java   
@Override
public EntityBoat getHandle() {
    return (EntityBoat) entity;
}