类 EnderManAngerEvent

java.lang.Object
net.neoforged.bus.api.Event
所有已实现的接口:
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.

  • 字段详细资料

    • player

      private final Player player
  • 构造器详细资料

    • EnderManAngerEvent

      public EnderManAngerEvent(EnderMan enderman, Player player)
  • 方法详细资料