类 EnderManAngerEvent
java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.event.entity.EntityEvent
net.neoforged.neoforge.event.entity.living.LivingEvent
net.neoforged.neoforge.event.entity.living.EnderManAngerEvent
- 所有已实现的接口:
net.neoforged.bus.api.ICancellableEvent
public class EnderManAngerEvent
extends LivingEvent
implements net.neoforged.bus.api.ICancellableEvent
This event is fired on the forge bus before an Enderman detects that a player is looking at them.
It will not be fired if the detection is already prevented by
IItemExtension.isGazeDisguise(net.minecraft.world.item.ItemStack, net.minecraft.world.entity.player.Player, net.minecraft.world.entity.LivingEntity)
This event is ICancellableEvent
.
If this event is canceled, the Enderman will not target the player.
-
嵌套类概要
从类继承的嵌套类/接口 net.neoforged.neoforge.event.entity.living.LivingEvent
LivingEvent.LivingJumpEvent, LivingEvent.LivingVisibilityEvent
从类继承的嵌套类/接口 net.neoforged.neoforge.event.entity.EntityEvent
EntityEvent.EnteringSection, EntityEvent.EntityConstructing, EntityEvent.Size
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.neoforged.bus.api.ICancellableEvent
isCanceled, setCanceled
-
字段详细资料
-
player
-
-
构造器详细资料
-
EnderManAngerEvent
-
-
方法详细资料
-
getPlayer
The player that is being checked. -
getEntity
- 覆盖:
getEntity
在类中LivingEvent
-