Interface IAngerable

    • Method Detail

      • getRemainingPersistentAngerTime

        int getRemainingPersistentAngerTime()
      • setRemainingPersistentAngerTime

        void setRemainingPersistentAngerTime​(int p_230260_1_)
      • getPersistentAngerTarget

        @Nullable
        java.util.UUID getPersistentAngerTarget()
      • setPersistentAngerTarget

        void setPersistentAngerTarget​(@Nullable
                                      java.util.UUID p_230259_1_)
      • startPersistentAngerTimer

        void startPersistentAngerTimer()
      • addPersistentAngerSaveData

        default void addPersistentAngerSaveData​(CompoundNBT p_233682_1_)
      • readPersistentAngerSaveData

        default void readPersistentAngerSaveData​(ServerWorld p_241358_1_,
                                                 CompoundNBT p_241358_2_)
      • updatePersistentAnger

        default void updatePersistentAnger​(ServerWorld p_241359_1_,
                                           boolean p_241359_2_)
      • isAngryAt

        default boolean isAngryAt​(LivingEntity p_233680_1_)
      • isAngryAtAllPlayers

        default boolean isAngryAtAllPlayers​(World p_241357_1_)
      • isAngry

        default boolean isAngry()
      • playerDied

        default void playerDied​(PlayerEntity p_233681_1_)
      • forgetCurrentTargetAndRefreshUniversalAnger

        default void forgetCurrentTargetAndRefreshUniversalAnger()
      • stopBeingAngry

        default void stopBeingAngry()
      • setLastHurtByMob

        void setLastHurtByMob​(@Nullable
                              LivingEntity p_70604_1_)
      • setLastHurtByPlayer

        void setLastHurtByPlayer​(@Nullable
                                 PlayerEntity p_230246_1_)
      • setTarget

        void setTarget​(@Nullable
                       LivingEntity p_70624_1_)