public class MCEntityMountEvent
extends java.lang.Object
implements crafttweaker.api.event.EntityMountEvent
Constructor and Description |
---|
MCEntityMountEvent(net.minecraftforge.event.entity.EntityMountEvent event) |
Modifier and Type | Method and Description |
---|---|
crafttweaker.api.entity.IEntity |
getEntity() |
crafttweaker.api.entity.IEntity |
getMountedEntity() |
crafttweaker.api.entity.IEntity |
getMountingEntity() |
crafttweaker.api.world.IWorld |
getWorld() |
boolean |
isCanceled() |
boolean |
isDismounting() |
boolean |
isMounting() |
void |
setCanceled(boolean canceled) |
public MCEntityMountEvent(net.minecraftforge.event.entity.EntityMountEvent event)
public crafttweaker.api.entity.IEntity getMountingEntity()
getMountingEntity
in interface crafttweaker.api.event.EntityMountEvent
public crafttweaker.api.entity.IEntity getMountedEntity()
getMountedEntity
in interface crafttweaker.api.event.EntityMountEvent
public boolean isMounting()
isMounting
in interface crafttweaker.api.event.EntityMountEvent
public boolean isDismounting()
isDismounting
in interface crafttweaker.api.event.EntityMountEvent
public crafttweaker.api.world.IWorld getWorld()
getWorld
in interface crafttweaker.api.event.EntityMountEvent
public crafttweaker.api.entity.IEntity getEntity()
getEntity
in interface crafttweaker.api.event.IEntityEvent
public boolean isCanceled()
isCanceled
in interface crafttweaker.api.event.IEventCancelable
public void setCanceled(boolean canceled)
setCanceled
in interface crafttweaker.api.event.IEventCancelable