Package fr.alasdiablo.diolib.api.block
Interface Anger
- All Known Subinterfaces:
AngerEnderman,AngerZombifiedPiglin
public interface Anger
-
Method Summary
Modifier and TypeMethodDescriptionvoidanger(net.minecraft.world.entity.player.Player player, net.minecraft.world.level.Level world) voidanger(net.minecraft.world.entity.player.Player player, net.minecraft.world.level.Level world, int aggroRange, boolean isAggro) voidanger(net.minecraft.world.entity.player.Player player, net.minecraft.world.level.Level world, net.minecraft.core.Position position) voidanger(net.minecraft.world.entity.player.Player player, net.minecraft.world.level.Level world, net.minecraft.core.Position position, int aggroRange, boolean isAggro) voidanger(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 blockworld- The current worldposition- Entity positionaggroRange- if null use value set by MobAngerConfig, aggro range with block as origineisAggro- 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 blockworld- The current worldaggroRange- if null use value set by MobAngerConfig, aggro range with block as origineisAggro- 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 blockworld- The current worldposition- 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 blockworld- The current worldposition- Entity position
-
anger
void anger(net.minecraft.world.entity.player.Player player, net.minecraft.world.level.Level world) - Parameters:
player- Player, who break the blockworld- The current world
-