public class EntityMobGriefingEvent extends EntityEvent
mobGriefing game rule is checked.result:
Result#ALLOW means this instance of mob griefing is allowed.Result#DEFAULT means the mobGriefing game rule is used to determine the behaviour.Result#DENY means this instance of mob griefing is not allowed.MinecraftForge.EVENT_BUS.EntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructing, EntityEvent.EyeHeightEvent.HasResult, Event.Result| コンストラクタと説明 |
|---|
EntityMobGriefingEvent(Entity entity) |
getEntitygetListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setuppublic EntityMobGriefingEvent(Entity entity)