Class EnderManAngerEvent

java.lang.Object
net.minecraftforge.eventbus.api.Event

public class EnderManAngerEvent extends LivingEvent
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 IForgeItem.isEnderMask(net.minecraft.world.item.ItemStack, net.minecraft.world.entity.player.Player, net.minecraft.world.entity.monster.EnderMan)

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

This event does not have a Event.Result.

  • Field Details

    • player

      private final Player player
  • Constructor Details

    • EnderManAngerEvent

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