Interface Angerable

All Known Implementing Classes:
BeeEntity, EndermanEntity, IronGolemEntity, PolarBearEntity, WolfEntity, ZombifiedPiglinEntity

public interface Angerable
Mappings:
Namespace Name
official ben
intermediary net/minecraft/class_5354
named net/minecraft/entity/mob/Angerable
  • Field Details

    • ANGER_TIME_KEY

      static final String ANGER_TIME_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a_ Lben;a_:Ljava/lang/String;
      intermediary field_30093 Lnet/minecraft/class_5354;field_30093:Ljava/lang/String;
      named ANGER_TIME_KEY Lnet/minecraft/entity/mob/Angerable;ANGER_TIME_KEY:Ljava/lang/String;
    • ANGRY_AT_KEY

      static final String ANGRY_AT_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b_ Lben;b_:Ljava/lang/String;
      intermediary field_30094 Lnet/minecraft/class_5354;field_30094:Ljava/lang/String;
      named ANGRY_AT_KEY Lnet/minecraft/entity/mob/Angerable;ANGRY_AT_KEY:Ljava/lang/String;
  • Method Details

    • getAngerTime

      int getAngerTime()
      Mappings:
      Namespace Name Mixin selector
      official a Lben;a()I
      intermediary method_29507 Lnet/minecraft/class_5354;method_29507()I
      named getAngerTime Lnet/minecraft/entity/mob/Angerable;getAngerTime()I
    • setAngerTime

      void setAngerTime(int angerTime)
      Mappings:
      Namespace Name Mixin selector
      official a Lben;a(I)V
      intermediary method_29514 Lnet/minecraft/class_5354;method_29514(I)V
      named setAngerTime Lnet/minecraft/entity/mob/Angerable;setAngerTime(I)V
    • getAngryAt

      @Nullable @Nullable UUID getAngryAt()
      Mappings:
      Namespace Name Mixin selector
      official b Lben;b()Ljava/util/UUID;
      intermediary method_29508 Lnet/minecraft/class_5354;method_29508()Ljava/util/UUID;
      named getAngryAt Lnet/minecraft/entity/mob/Angerable;getAngryAt()Ljava/util/UUID;
    • setAngryAt

      void setAngryAt(@Nullable @Nullable UUID angryAt)
      Mappings:
      Namespace Name Mixin selector
      official a Lben;a(Ljava/util/UUID;)V
      intermediary method_29513 Lnet/minecraft/class_5354;method_29513(Ljava/util/UUID;)V
      named setAngryAt Lnet/minecraft/entity/mob/Angerable;setAngryAt(Ljava/util/UUID;)V
    • chooseRandomAngerTime

      void chooseRandomAngerTime()
      Mappings:
      Namespace Name Mixin selector
      official c Lben;c()V
      intermediary method_29509 Lnet/minecraft/class_5354;method_29509()V
      named chooseRandomAngerTime Lnet/minecraft/entity/mob/Angerable;chooseRandomAngerTime()V
    • writeAngerToNbt

      default void writeAngerToNbt(NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      official c Lben;c(Lqp;)V
      intermediary method_29517 Lnet/minecraft/class_5354;method_29517(Lnet/minecraft/class_2487;)V
      named writeAngerToNbt Lnet/minecraft/entity/mob/Angerable;writeAngerToNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • readAngerFromNbt

      default void readAngerFromNbt(World world, NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      official a Lben;a(Lcjw;Lqp;)V
      intermediary method_29512 Lnet/minecraft/class_5354;method_29512(Lnet/minecraft/class_1937;Lnet/minecraft/class_2487;)V
      named readAngerFromNbt Lnet/minecraft/entity/mob/Angerable;readAngerFromNbt(Lnet/minecraft/world/World;Lnet/minecraft/nbt/NbtCompound;)V
    • tickAngerLogic

      default void tickAngerLogic(ServerWorld world, boolean angerPersistent)
      Parameters:
      angerPersistent - if true, the anger time will not decrease for a player target
      Mappings:
      Namespace Name Mixin selector
      official a Lben;a(Lahm;Z)V
      intermediary method_29510 Lnet/minecraft/class_5354;method_29510(Lnet/minecraft/class_3218;Z)V
      named tickAngerLogic Lnet/minecraft/entity/mob/Angerable;tickAngerLogic(Lnet/minecraft/server/world/ServerWorld;Z)V
    • shouldAngerAt

      default boolean shouldAngerAt(LivingEntity entity)
      Mappings:
      Namespace Name Mixin selector
      official a_ Lben;a_(Lbeg;)Z
      intermediary method_29515 Lnet/minecraft/class_5354;method_29515(Lnet/minecraft/class_1309;)Z
      named shouldAngerAt Lnet/minecraft/entity/mob/Angerable;shouldAngerAt(Lnet/minecraft/entity/LivingEntity;)Z
    • isUniversallyAngry

      default boolean isUniversallyAngry(World world)
      Mappings:
      Namespace Name Mixin selector
      official b Lben;b(Lcjw;)Z
      intermediary method_29923 Lnet/minecraft/class_5354;method_29923(Lnet/minecraft/class_1937;)Z
      named isUniversallyAngry Lnet/minecraft/entity/mob/Angerable;isUniversallyAngry(Lnet/minecraft/world/World;)Z
    • hasAngerTime

      default boolean hasAngerTime()
      Mappings:
      Namespace Name Mixin selector
      official J_ Lben;J_()Z
      intermediary method_29511 Lnet/minecraft/class_5354;method_29511()Z
      named hasAngerTime Lnet/minecraft/entity/mob/Angerable;hasAngerTime()Z
    • forgive

      default void forgive(PlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official a_ Lben;a_(Lbwp;)V
      intermediary method_29516 Lnet/minecraft/class_5354;method_29516(Lnet/minecraft/class_1657;)V
      named forgive Lnet/minecraft/entity/mob/Angerable;forgive(Lnet/minecraft/entity/player/PlayerEntity;)V
    • universallyAnger

      default void universallyAnger()
      Mappings:
      Namespace Name Mixin selector
      official K_ Lben;K_()V
      intermediary method_29921 Lnet/minecraft/class_5354;method_29921()V
      named universallyAnger Lnet/minecraft/entity/mob/Angerable;universallyAnger()V
    • stopAnger

      default void stopAnger()
      Mappings:
      Namespace Name Mixin selector
      official H_ Lben;H_()V
      intermediary method_29922 Lnet/minecraft/class_5354;method_29922()V
      named stopAnger Lnet/minecraft/entity/mob/Angerable;stopAnger()V
    • getAttacker

      Mappings:
      Namespace Name Mixin selector
      official dW Lben;dW()Lbeg;
      intermediary method_6065 Lnet/minecraft/class_5354;method_6065()Lnet/minecraft/class_1309;
      named getAttacker Lnet/minecraft/entity/mob/Angerable;getAttacker()Lnet/minecraft/entity/LivingEntity;
    • setAttacker

      void setAttacker(@Nullable @Nullable LivingEntity attacker)
      Mappings:
      Namespace Name Mixin selector
      official a Lben;a(Lbeg;)V
      intermediary method_6015 Lnet/minecraft/class_5354;method_6015(Lnet/minecraft/class_1309;)V
      named setAttacker Lnet/minecraft/entity/mob/Angerable;setAttacker(Lnet/minecraft/entity/LivingEntity;)V
    • setAttacking

      void setAttacking(@Nullable @Nullable PlayerEntity attacking)
      Mappings:
      Namespace Name Mixin selector
      official d Lben;d(Lbwp;)V
      intermediary method_29505 Lnet/minecraft/class_5354;method_29505(Lnet/minecraft/class_1657;)V
      named setAttacking Lnet/minecraft/entity/mob/Angerable;setAttacking(Lnet/minecraft/entity/player/PlayerEntity;)V
    • setTarget

      void setTarget(@Nullable @Nullable LivingEntity target)
      Mappings:
      Namespace Name Mixin selector
      official h Lben;h(Lbeg;)V
      intermediary method_5980 Lnet/minecraft/class_5354;method_5980(Lnet/minecraft/class_1309;)V
      named setTarget Lnet/minecraft/entity/mob/Angerable;setTarget(Lnet/minecraft/entity/LivingEntity;)V
    • canTarget

      boolean canTarget(LivingEntity target)
      Mappings:
      Namespace Name Mixin selector
      official c Lben;c(Lbeg;)Z
      intermediary method_18395 Lnet/minecraft/class_5354;method_18395(Lnet/minecraft/class_1309;)Z
      named canTarget Lnet/minecraft/entity/mob/Angerable;canTarget(Lnet/minecraft/entity/LivingEntity;)Z
    • getTarget

      Mappings:
      Namespace Name Mixin selector
      official H Lben;H()Lbeg;
      intermediary method_5968 Lnet/minecraft/class_5354;method_5968()Lnet/minecraft/class_1309;
      named getTarget Lnet/minecraft/entity/mob/Angerable;getTarget()Lnet/minecraft/entity/LivingEntity;