Package net.minecraft.entity.mob
Interface Angerable
- All Known Implementing Classes:
BeeEntity,EndermanEntity,IronGolemEntity,PolarBearEntity,WolfEntity,ZombifiedPiglinEntity
public interface Angerable
- Mappings:
Namespace Name named net/minecraft/entity/mob/Angerableintermediary net/minecraft/class_5354official chp
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionprivate static booleancanAngerAt(LivingEntity target) booleancanTarget(LivingEntity target) voiddefault voidforgive(ServerWorld world, PlayerEntity player) long@Nullable LazyEntityReference<LivingEntity> @Nullable LivingEntity@Nullable LivingEntitydefault booleandefault booleanisUniversallyAngry(ServerWorld world) default voidreadAngerFromData(World world, ReadView view) default voidsetAngerDuration(long durationInTicks) voidsetAngerEndTime(long angerEndTime) voidsetAngryAt(@Nullable LazyEntityReference<LivingEntity> angryAt) voidsetAttacker(@Nullable LivingEntity attacker) voidsetTarget(@Nullable LivingEntity target) default booleanshouldAngerAt(LivingEntity target, ServerWorld world) default voiddefault voidtickAngerLogic(ServerWorld world, boolean angerPersistent) default voiddefault voidwriteAngerToData(WriteView view)
-
Field Details
-
ANGER_END_TIME_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named ANGER_END_TIME_KEYLnet/minecraft/entity/mob/Angerable;ANGER_END_TIME_KEY:Ljava/lang/String;intermediary field_63295Lnet/minecraft/class_5354;field_63295:Ljava/lang/String;official d_Lchp;d_:Ljava/lang/String;
-
ANGRY_AT_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named ANGRY_AT_KEYLnet/minecraft/entity/mob/Angerable;ANGRY_AT_KEY:Ljava/lang/String;intermediary field_30094Lnet/minecraft/class_5354;field_30094:Ljava/lang/String;official e_Lchp;e_:Ljava/lang/String;
-
NO_ANGER_END_TIME
static final long NO_ANGER_END_TIME- See Also:
- Mappings:
Namespace Name Mixin selector named NO_ANGER_END_TIMELnet/minecraft/entity/mob/Angerable;NO_ANGER_END_TIME:Jintermediary field_63296Lnet/minecraft/class_5354;field_63296:Jofficial f_Lchp;f_:J
-
-
Method Details
-
getAngerEndTime
long getAngerEndTime()- Mappings:
Namespace Name Mixin selector named getAngerEndTimeLnet/minecraft/entity/mob/Angerable;getAngerEndTime()Jintermediary method_75130Lnet/minecraft/class_5354;method_75130()Jofficial aLchp;a()J
-
setAngerDuration
default void setAngerDuration(long durationInTicks) - Mappings:
Namespace Name Mixin selector named setAngerDurationLnet/minecraft/entity/mob/Angerable;setAngerDuration(J)Vintermediary method_75131Lnet/minecraft/class_5354;method_75131(J)Vofficial aLchp;a(J)V
-
setAngerEndTime
void setAngerEndTime(long angerEndTime) - Mappings:
Namespace Name Mixin selector named setAngerEndTimeLnet/minecraft/entity/mob/Angerable;setAngerEndTime(J)Vintermediary method_75132Lnet/minecraft/class_5354;method_75132(J)Vofficial bLchp;b(J)V
-
getAngryAt
@Nullable LazyEntityReference<LivingEntity> getAngryAt()- Mappings:
Namespace Name Mixin selector named getAngryAtLnet/minecraft/entity/mob/Angerable;getAngryAt()Lnet/minecraft/entity/LazyEntityReference;intermediary method_29508Lnet/minecraft/class_5354;method_29508()Lnet/minecraft/class_10583;official bLchp;b()Lcgp;
-
setAngryAt
- Mappings:
Namespace Name Mixin selector named setAngryAtLnet/minecraft/entity/mob/Angerable;setAngryAt(Lnet/minecraft/entity/LazyEntityReference;)Vintermediary method_29513Lnet/minecraft/class_5354;method_29513(Lnet/minecraft/class_10583;)Vofficial aLchp;a(Lcgp;)V
-
chooseRandomAngerTime
void chooseRandomAngerTime()- Mappings:
Namespace Name Mixin selector named chooseRandomAngerTimeLnet/minecraft/entity/mob/Angerable;chooseRandomAngerTime()Vintermediary method_29509Lnet/minecraft/class_5354;method_29509()Vofficial cLchp;c()V
-
getEntityWorld
World getEntityWorld()- Mappings:
Namespace Name Mixin selector named getEntityWorldLnet/minecraft/entity/mob/Angerable;getEntityWorld()Lnet/minecraft/world/World;intermediary method_73183Lnet/minecraft/class_5354;method_73183()Lnet/minecraft/class_1937;official aoLchp;ao()Ldvg;
-
writeAngerToData
- Mappings:
Namespace Name Mixin selector named writeAngerToDataLnet/minecraft/entity/mob/Angerable;writeAngerToData(Lnet/minecraft/storage/WriteView;)Vintermediary method_29517Lnet/minecraft/class_5354;method_29517(Lnet/minecraft/class_11372;)Vofficial a_Lchp;a_(Lfmk;)V
-
readAngerFromData
- Mappings:
Namespace Name Mixin selector named readAngerFromDataLnet/minecraft/entity/mob/Angerable;readAngerFromData(Lnet/minecraft/world/World;Lnet/minecraft/storage/ReadView;)Vintermediary method_29512Lnet/minecraft/class_5354;method_29512(Lnet/minecraft/class_1937;Lnet/minecraft/class_11368;)Vofficial aLchp;a(Ldvg;Lfmi;)V
-
tickAngerLogic
- Parameters:
angerPersistent- iftrue, the anger time will not decrease for a player target- Mappings:
Namespace Name Mixin selector named tickAngerLogicLnet/minecraft/entity/mob/Angerable;tickAngerLogic(Lnet/minecraft/server/world/ServerWorld;Z)Vintermediary method_29510Lnet/minecraft/class_5354;method_29510(Lnet/minecraft/class_3218;Z)Vofficial aLchp;a(Laxf;Z)V
-
canAngerAt
- Mappings:
Namespace Name Mixin selector named canAngerAtLnet/minecraft/entity/mob/Angerable;canAngerAt(Lnet/minecraft/entity/LivingEntity;)Zintermediary method_75880Lnet/minecraft/class_5354;method_75880(Lnet/minecraft/class_1309;)Zofficial bLchp;b(Lchk;)Z
-
shouldAngerAt
- Mappings:
Namespace Name Mixin selector named shouldAngerAtLnet/minecraft/entity/mob/Angerable;shouldAngerAt(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/server/world/ServerWorld;)Zintermediary method_29515Lnet/minecraft/class_5354;method_29515(Lnet/minecraft/class_1309;Lnet/minecraft/class_3218;)Zofficial aLchp;a(Lchk;Laxf;)Z
-
isUniversallyAngry
- Mappings:
Namespace Name Mixin selector named isUniversallyAngryLnet/minecraft/entity/mob/Angerable;isUniversallyAngry(Lnet/minecraft/server/world/ServerWorld;)Zintermediary method_29923Lnet/minecraft/class_5354;method_29923(Lnet/minecraft/class_3218;)Zofficial a_Lchp;a_(Laxf;)Z
-
hasAngerTime
default boolean hasAngerTime()- Mappings:
Namespace Name Mixin selector named hasAngerTimeLnet/minecraft/entity/mob/Angerable;hasAngerTime()Zintermediary method_29511Lnet/minecraft/class_5354;method_29511()Zofficial ae_Lchp;ae_()Z
-
forgive
- Mappings:
Namespace Name Mixin selector named forgiveLnet/minecraft/entity/mob/Angerable;forgive(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/player/PlayerEntity;)Vintermediary method_29516Lnet/minecraft/class_5354;method_29516(Lnet/minecraft/class_3218;Lnet/minecraft/class_1657;)Vofficial a_Lchp;a_(Laxf;Ldcm;)V
-
universallyAnger
default void universallyAnger()- Mappings:
Namespace Name Mixin selector named universallyAngerLnet/minecraft/entity/mob/Angerable;universallyAnger()Vintermediary method_29921Lnet/minecraft/class_5354;method_29921()Vofficial ac_Lchp;ac_()V
-
stopAnger
default void stopAnger()- Mappings:
Namespace Name Mixin selector named stopAngerLnet/minecraft/entity/mob/Angerable;stopAnger()Vintermediary method_29922Lnet/minecraft/class_5354;method_29922()Vofficial iLchp;i()V
-
getAttacker
@Nullable LivingEntity getAttacker()- Mappings:
Namespace Name Mixin selector named getAttackerLnet/minecraft/entity/mob/Angerable;getAttacker()Lnet/minecraft/entity/LivingEntity;intermediary method_6065Lnet/minecraft/class_5354;method_6065()Lnet/minecraft/class_1309;official eJLchp;eJ()Lchk;
-
setAttacker
- Mappings:
Namespace Name Mixin selector named setAttackerLnet/minecraft/entity/mob/Angerable;setAttacker(Lnet/minecraft/entity/LivingEntity;)Vintermediary method_6015Lnet/minecraft/class_5354;method_6015(Lnet/minecraft/class_1309;)Vofficial aLchp;a(Lchk;)V
-
setTarget
- Mappings:
Namespace Name Mixin selector named setTargetLnet/minecraft/entity/mob/Angerable;setTarget(Lnet/minecraft/entity/LivingEntity;)Vintermediary method_5980Lnet/minecraft/class_5354;method_5980(Lnet/minecraft/class_1309;)Vofficial gLchp;g(Lchk;)V
-
canTarget
- Mappings:
Namespace Name Mixin selector named canTargetLnet/minecraft/entity/mob/Angerable;canTarget(Lnet/minecraft/entity/LivingEntity;)Zintermediary method_18395Lnet/minecraft/class_5354;method_18395(Lnet/minecraft/class_1309;)Zofficial cLchp;c(Lchk;)Z
-
getTarget
@Nullable LivingEntity getTarget()- Mappings:
Namespace Name Mixin selector named getTargetLnet/minecraft/entity/mob/Angerable;getTarget()Lnet/minecraft/entity/LivingEntity;intermediary method_5968Lnet/minecraft/class_5354;method_5968()Lnet/minecraft/class_1309;official eLchp;e()Lchk;
-