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/Angerable- intermediary - net/minecraft/class_5354- official - bvn
- 
Field SummaryFields
- 
Method SummaryModifier and TypeMethodDescriptionbooleancanTarget(LivingEntity target) voiddefault voidforgive(ServerWorld world, PlayerEntity player) intdefault booleandefault booleanisUniversallyAngry(ServerWorld world) default voidreadAngerFromNbt(World world, NbtCompound nbt) voidsetAngerTime(int angerTime) voidsetAngryAt(@Nullable UUID angryAt) voidsetAttacker(@Nullable LivingEntity attacker) voidsetAttacking(@Nullable PlayerEntity attacking) voidsetTarget(@Nullable LivingEntity target) default booleanshouldAngerAt(LivingEntity entity, ServerWorld world) default voiddefault voidtickAngerLogic(ServerWorld world, boolean angerPersistent) default voiddefault void
- 
Field Details- 
ANGER_TIME_KEY- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - ANGER_TIME_KEY- Lnet/minecraft/entity/mob/Angerable;ANGER_TIME_KEY:Ljava/lang/String;- intermediary - field_30093- Lnet/minecraft/class_5354;field_30093:Ljava/lang/String;- official - a_- Lbvn;a_:Ljava/lang/String;
 
- 
ANGRY_AT_KEY- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - ANGRY_AT_KEY- Lnet/minecraft/entity/mob/Angerable;ANGRY_AT_KEY:Ljava/lang/String;- intermediary - field_30094- Lnet/minecraft/class_5354;field_30094:Ljava/lang/String;- official - b_- Lbvn;b_:Ljava/lang/String;
 
 
- 
- 
Method Details- 
getAngerTimeint getAngerTime()- Mappings:
- Namespace - Name - Mixin selector - named - getAngerTime- Lnet/minecraft/entity/mob/Angerable;getAngerTime()I- intermediary - method_29507- Lnet/minecraft/class_5354;method_29507()I- official - a- Lbvn;a()I
 
- 
setAngerTimevoid setAngerTime(int angerTime) - Mappings:
- Namespace - Name - Mixin selector - named - setAngerTime- Lnet/minecraft/entity/mob/Angerable;setAngerTime(I)V- intermediary - method_29514- Lnet/minecraft/class_5354;method_29514(I)V- official - a- Lbvn;a(I)V
 
- 
getAngryAt- Mappings:
- Namespace - Name - Mixin selector - named - getAngryAt- Lnet/minecraft/entity/mob/Angerable;getAngryAt()Ljava/util/UUID;- intermediary - method_29508- Lnet/minecraft/class_5354;method_29508()Ljava/util/UUID;- official - b- Lbvn;b()Ljava/util/UUID;
 
- 
setAngryAt- Mappings:
- Namespace - Name - Mixin selector - named - setAngryAt- Lnet/minecraft/entity/mob/Angerable;setAngryAt(Ljava/util/UUID;)V- intermediary - method_29513- Lnet/minecraft/class_5354;method_29513(Ljava/util/UUID;)V- official - a- Lbvn;a(Ljava/util/UUID;)V
 
- 
chooseRandomAngerTimevoid chooseRandomAngerTime()- Mappings:
- Namespace - Name - Mixin selector - named - chooseRandomAngerTime- Lnet/minecraft/entity/mob/Angerable;chooseRandomAngerTime()V- intermediary - method_29509- Lnet/minecraft/class_5354;method_29509()V- official - c- Lbvn;c()V
 
- 
writeAngerToNbt- Mappings:
- Namespace - Name - Mixin selector - named - writeAngerToNbt- Lnet/minecraft/entity/mob/Angerable;writeAngerToNbt(Lnet/minecraft/nbt/NbtCompound;)V- intermediary - method_29517- Lnet/minecraft/class_5354;method_29517(Lnet/minecraft/class_2487;)V- official - a_- Lbvn;a_(Ltq;)V
 
- 
readAngerFromNbt- Mappings:
- Namespace - Name - Mixin selector - named - readAngerFromNbt- Lnet/minecraft/entity/mob/Angerable;readAngerFromNbt(Lnet/minecraft/world/World;Lnet/minecraft/nbt/NbtCompound;)V- intermediary - method_29512- Lnet/minecraft/class_5354;method_29512(Lnet/minecraft/class_1937;Lnet/minecraft/class_2487;)V- official - a- Lbvn;a(Ldgj;Ltq;)V
 
- 
tickAngerLogic- Parameters:
- angerPersistent- if- true, the anger time will not decrease for a player target
- Mappings:
- Namespace - Name - Mixin selector - named - tickAngerLogic- Lnet/minecraft/entity/mob/Angerable;tickAngerLogic(Lnet/minecraft/server/world/ServerWorld;Z)V- intermediary - method_29510- Lnet/minecraft/class_5354;method_29510(Lnet/minecraft/class_3218;Z)V- official - a- Lbvn;a(Lard;Z)V
 
- 
shouldAngerAt- Mappings:
- Namespace - Name - Mixin selector - named - shouldAngerAt- Lnet/minecraft/entity/mob/Angerable;shouldAngerAt(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/server/world/ServerWorld;)Z- intermediary - method_29515- Lnet/minecraft/class_5354;method_29515(Lnet/minecraft/class_1309;Lnet/minecraft/class_3218;)Z- official - a- Lbvn;a(Lbvi;Lard;)Z
 
- 
isUniversallyAngry- Mappings:
- Namespace - Name - Mixin selector - named - isUniversallyAngry- Lnet/minecraft/entity/mob/Angerable;isUniversallyAngry(Lnet/minecraft/server/world/ServerWorld;)Z- intermediary - method_29923- Lnet/minecraft/class_5354;method_29923(Lnet/minecraft/class_3218;)Z- official - a_- Lbvn;a_(Lard;)Z
 
- 
hasAngerTimedefault boolean hasAngerTime()- Mappings:
- Namespace - Name - Mixin selector - named - hasAngerTime- Lnet/minecraft/entity/mob/Angerable;hasAngerTime()Z- intermediary - method_29511- Lnet/minecraft/class_5354;method_29511()Z- official - ac_- Lbvn;ac_()Z
 
- 
forgive- Mappings:
- Namespace - Name - Mixin selector - named - forgive- Lnet/minecraft/entity/mob/Angerable;forgive(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/player/PlayerEntity;)V- intermediary - method_29516- Lnet/minecraft/class_5354;method_29516(Lnet/minecraft/class_3218;Lnet/minecraft/class_1657;)V- official - a_- Lbvn;a_(Lard;Lcoy;)V
 
- 
universallyAngerdefault void universallyAnger()- Mappings:
- Namespace - Name - Mixin selector - named - universallyAnger- Lnet/minecraft/entity/mob/Angerable;universallyAnger()V- intermediary - method_29921- Lnet/minecraft/class_5354;method_29921()V- official - ad_- Lbvn;ad_()V
 
- 
stopAngerdefault void stopAnger()- Mappings:
- Namespace - Name - Mixin selector - named - stopAnger- Lnet/minecraft/entity/mob/Angerable;stopAnger()V- intermediary - method_29922- Lnet/minecraft/class_5354;method_29922()V- official - ae_- Lbvn;ae_()V
 
- 
getAttacker- Mappings:
- Namespace - Name - Mixin selector - named - getAttacker- Lnet/minecraft/entity/mob/Angerable;getAttacker()Lnet/minecraft/entity/LivingEntity;- intermediary - method_6065- Lnet/minecraft/class_5354;method_6065()Lnet/minecraft/class_1309;- official - ep- Lbvn;ep()Lbvi;
 
- 
setAttacker- Mappings:
- Namespace - Name - Mixin selector - named - setAttacker- Lnet/minecraft/entity/mob/Angerable;setAttacker(Lnet/minecraft/entity/LivingEntity;)V- intermediary - method_6015- Lnet/minecraft/class_5354;method_6015(Lnet/minecraft/class_1309;)V- official - a- Lbvn;a(Lbvi;)V
 
- 
setAttacking- Mappings:
- Namespace - Name - Mixin selector - named - setAttacking- Lnet/minecraft/entity/mob/Angerable;setAttacking(Lnet/minecraft/entity/player/PlayerEntity;)V- intermediary - method_29505- Lnet/minecraft/class_5354;method_29505(Lnet/minecraft/class_1657;)V- official - c- Lbvn;c(Lcoy;)V
 
- 
setTarget- Mappings:
- Namespace - Name - Mixin selector - named - setTarget- Lnet/minecraft/entity/mob/Angerable;setTarget(Lnet/minecraft/entity/LivingEntity;)V- intermediary - method_5980- Lnet/minecraft/class_5354;method_5980(Lnet/minecraft/class_1309;)V- official - h- Lbvn;h(Lbvi;)V
 
- 
canTarget- Mappings:
- Namespace - Name - Mixin selector - named - canTarget- Lnet/minecraft/entity/mob/Angerable;canTarget(Lnet/minecraft/entity/LivingEntity;)Z- intermediary - method_18395- Lnet/minecraft/class_5354;method_18395(Lnet/minecraft/class_1309;)Z- official - c- Lbvn;c(Lbvi;)Z
 
- 
getTarget- Mappings:
- Namespace - Name - Mixin selector - named - getTarget- Lnet/minecraft/entity/mob/Angerable;getTarget()Lnet/minecraft/entity/LivingEntity;- intermediary - method_5968- Lnet/minecraft/class_5354;method_5968()Lnet/minecraft/class_1309;- official - O_- Lbvn;O_()Lbvi;
 
 
-