Interface Anger

All Known Subinterfaces:
AngerEnderman, AngerZombifiedPiglin

public interface Anger
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    anger(net.minecraft.world.entity.player.Player player, net.minecraft.world.level.Level world)
     
    void
    anger(net.minecraft.world.entity.player.Player player, net.minecraft.world.level.Level world, int aggroRange, boolean isAggro)
     
    void
    anger(net.minecraft.world.entity.player.Player player, net.minecraft.world.level.Level world, net.minecraft.core.Position position)
     
    void
    anger(net.minecraft.world.entity.player.Player player, net.minecraft.world.level.Level world, net.minecraft.core.Position position, int aggroRange, boolean isAggro)
     
    void
    anger(net.minecraft.world.entity.player.Player player, net.minecraft.world.level.Level world, net.minecraft.core.Vec3i position)
     
  • Method Details

    • anger

      void anger(net.minecraft.world.entity.player.Player player, net.minecraft.world.level.Level world, net.minecraft.core.Position position, int aggroRange, boolean isAggro)
      Parameters:
      player - Player, who break the block
      world - The current world
      position - Entity position
      aggroRange - if null use value set by MobAngerConfig, aggro range with block as origine
      isAggro - if null use value set by MobAngerConfig, enable or disable mob aggro
    • anger

      void anger(net.minecraft.world.entity.player.Player player, net.minecraft.world.level.Level world, int aggroRange, boolean isAggro)
      Parameters:
      player - Player, who break the block
      world - The current world
      aggroRange - if null use value set by MobAngerConfig, aggro range with block as origine
      isAggro - if null use value set by MobAngerConfig, enable or disable mob aggro
    • anger

      void anger(net.minecraft.world.entity.player.Player player, net.minecraft.world.level.Level world, net.minecraft.core.Vec3i position)
      Parameters:
      player - Player, who break the block
      world - The current world
      position - Block position
    • anger

      void anger(net.minecraft.world.entity.player.Player player, net.minecraft.world.level.Level world, net.minecraft.core.Position position)
      Parameters:
      player - Player, who break the block
      world - The current world
      position - Entity position
    • anger

      void anger(net.minecraft.world.entity.player.Player player, net.minecraft.world.level.Level world)
      Parameters:
      player - Player, who break the block
      world - The current world