Class EnderManAngerEvent

java.lang.Object
net.neoforged.bus.api.Event
All Implemented Interfaces:
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(ItemStack, Player, LivingEntity)

This event is ICancellableEvent. If this event is canceled, the Enderman will not target the player.

  • Field Details

    • player

      private final Player player
  • Constructor Details

    • EnderManAngerEvent

      public EnderManAngerEvent(EnderMan enderman, Player player)
  • Method Details