public class MCMobGriefingEvent
extends java.lang.Object
implements crafttweaker.api.event.MobGriefingEvent
Constructor and Description |
---|
MCMobGriefingEvent(net.minecraftforge.event.entity.EntityMobGriefingEvent event) |
Modifier and Type | Method and Description |
---|---|
crafttweaker.api.entity.IEntity |
getEntity() |
java.lang.String |
getResult() |
void |
setAllowed() |
void |
setDefault() |
void |
setDenied() |
public MCMobGriefingEvent(net.minecraftforge.event.entity.EntityMobGriefingEvent event)
public crafttweaker.api.entity.IEntity getEntity()
getEntity
in interface crafttweaker.api.event.IEntityEvent
public java.lang.String getResult()
getResult
in interface crafttweaker.api.event.IEventHasResult
public void setDenied()
setDenied
in interface crafttweaker.api.event.IEventHasResult
public void setDefault()
setDefault
in interface crafttweaker.api.event.IEventHasResult
public void setAllowed()
setAllowed
in interface crafttweaker.api.event.IEventHasResult