org.bukkit.entity.AbstractHorse Java Examples

The following examples show how to use org.bukkit.entity.AbstractHorse. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: HorseJumpEvent.java    From Kettle with GNU General Public License v3.0 4 votes vote down vote up
public HorseJumpEvent(final AbstractHorse horse, final float power) {
    super(horse);
    this.power = power;
}
 
Example #2
Source File: HorseJumpEvent.java    From Kettle with GNU General Public License v3.0 4 votes vote down vote up
@Override
public AbstractHorse getEntity() {
    return (AbstractHorse) entity;
}
 
Example #3
Source File: CraftAbstractHorse.java    From Kettle with GNU General Public License v3.0 4 votes vote down vote up
public CraftAbstractHorse(CraftServer server, net.minecraft.entity.passive.AbstractHorse entity) {
    super(server, entity);
}
 
Example #4
Source File: CraftAbstractHorse.java    From Kettle with GNU General Public License v3.0 4 votes vote down vote up
@Override
public net.minecraft.entity.passive.AbstractHorse getHandle() {
    return (net.minecraft.entity.passive.AbstractHorse) entity;
}
 
Example #5
Source File: NMSEntityHorseImpl.java    From SonarPet with GNU General Public License v3.0 4 votes vote down vote up
@Override
public AbstractHorse getBukkitEntity() {
    return (AbstractHorse) super.getBukkitEntity();
}
 
Example #6
Source File: NMSEntityHorseImpl.java    From SonarPet with GNU General Public License v3.0 4 votes vote down vote up
@Override
public AbstractHorse getBukkitEntity() {
    return (AbstractHorse) super.getBukkitEntity();
}