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

项目:CraftBukkit    文件:CraftHorse.java   
public CraftHorse(CraftServer server, EntityHorse entity) {
    super(server, entity);
}
项目:CraftBukkit    文件:CraftHorse.java   
@Override
public EntityHorse getHandle() {
    return (EntityHorse) entity;
}
项目:CraftBukkit    文件:CraftHorse.java   
public void setJumpStrength(double strength) {
    Validate.isTrue(strength >= 0, "Jump strength cannot be less than zero");
    getHandle().getAttributeInstance(EntityHorse.attributeJumpStrength).setValue(strength);
}
项目:Craftbukkit    文件:CraftHorse.java   
public CraftHorse(CraftServer server, EntityHorse entity) {
    super(server, entity);
}
项目:Craftbukkit    文件:CraftHorse.java   
@Override
public EntityHorse getHandle() {
    return (EntityHorse) entity;
}
项目:Craftbukkit    文件:CraftHorse.java   
public void setJumpStrength(double strength) {
    Validate.isTrue(strength >= 0, "Jump strength cannot be less than zero");
    getHandle().getAttributeInstance(EntityHorse.attributeJumpStrength).setValue(strength);
}
项目:Almura-Server    文件:CraftHorse.java   
public CraftHorse(CraftServer server, EntityHorse entity) {
    super(server, entity);
}
项目:Almura-Server    文件:CraftHorse.java   
@Override
public EntityHorse getHandle() {
    return (EntityHorse) entity;
}
项目:Almura-Server    文件:CraftHorse.java   
public void setJumpStrength(double strength) {
    Validate.isTrue(strength >= 0, "Jump strength cannot be less than zero");
    getHandle().getAttributeInstance(EntityHorse.attributeJumpStrength).setValue(strength);
}
项目:Tweakkit-Server    文件:CraftHorse.java   
public CraftHorse(CraftServer server, EntityHorse entity) {
    super(server, entity);
}
项目:Tweakkit-Server    文件:CraftHorse.java   
@Override
public EntityHorse getHandle() {
    return (EntityHorse) entity;
}
项目:Tweakkit-Server    文件:CraftHorse.java   
public void setJumpStrength(double strength) {
    Validate.isTrue(strength >= 0, "Jump strength cannot be less than zero");
    getHandle().getAttributeInstance(EntityHorse.attributeJumpStrength).setValue(strength);
}
项目:SpigotSource    文件:CraftHorse.java   
public CraftHorse(CraftServer server, EntityHorse entity) {
    super(server, entity);
}
项目:SpigotSource    文件:CraftHorse.java   
@Override
public EntityHorse getHandle() {
    return (EntityHorse) entity;
}
项目:SpigotSource    文件:CraftHorse.java   
public void setJumpStrength(double strength) {
    Validate.isTrue(strength >= 0, "Jump strength cannot be less than zero");
    getHandle().getAttributeInstance(EntityHorse.attributeJumpStrength).setValue(strength);
}