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.EntityMountEventpublic crafttweaker.api.entity.IEntity getMountedEntity()
getMountedEntity in interface crafttweaker.api.event.EntityMountEventpublic boolean isMounting()
isMounting in interface crafttweaker.api.event.EntityMountEventpublic boolean isDismounting()
isDismounting in interface crafttweaker.api.event.EntityMountEventpublic crafttweaker.api.world.IWorld getWorld()
getWorld in interface crafttweaker.api.event.EntityMountEventpublic crafttweaker.api.entity.IEntity getEntity()
getEntity in interface crafttweaker.api.event.IEntityEventpublic boolean isCanceled()
isCanceled in interface crafttweaker.api.event.IEventCancelablepublic void setCanceled(boolean canceled)
setCanceled in interface crafttweaker.api.event.IEventCancelable