接口 Angerable
-
- 所有已知实现类:
BeeEntity,EndermanEntity,IronGolemEntity,PolarBearEntity,WolfEntity,ZombifiedPiglinEntity
public interface Angerable- Mappings:
Namespace Name official ateintermediary net/minecraft/class_5354named net/minecraft/entity/mob/Angerable
-
-
字段概要
字段 修饰符和类型 字段 说明 static StringANGER_TIME_KEYstatic StringANGRY_AT_KEY
-
方法概要
所有方法 实例方法 抽象方法 默认方法 修饰符和类型 方法 说明 voidchooseRandomAngerTime()default voidforgive(PlayerEntity player)intgetAngerTime()@Nullable UUIDgetAngryAt()@Nullable LivingEntitygetAttacker()@Nullable LivingEntitygetTarget()default booleanhasAngerTime()default booleanisUniversallyAngry(World world)default voidreadAngerFromNbt(World world, CompoundTag nbt)voidsetAngerTime(int ticks)voidsetAngryAt(@Nullable UUID uuid)voidsetAttacker(@Nullable LivingEntity attacker)voidsetAttacking(@Nullable PlayerEntity attacking)voidsetTarget(@Nullable LivingEntity target)default booleanshouldAngerAt(LivingEntity entity)default voidstopAnger()default voidtickAngerLogic(ServerWorld world, boolean bool)default voiduniversallyAnger()default voidwriteAngerToNbt(CompoundTag nbt)
-
-
-
字段详细资料
-
ANGER_TIME_KEY
static final String ANGER_TIME_KEY
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official a_Late;a_:Ljava/lang/String;intermediary field_30093Lnet/minecraft/class_5354;field_30093:Ljava/lang/String;named ANGER_TIME_KEYLnet/minecraft/entity/mob/Angerable;ANGER_TIME_KEY:Ljava/lang/String;
-
ANGRY_AT_KEY
static final String ANGRY_AT_KEY
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official b_Late;b_:Ljava/lang/String;intermediary field_30094Lnet/minecraft/class_5354;field_30094:Ljava/lang/String;named ANGRY_AT_KEYLnet/minecraft/entity/mob/Angerable;ANGRY_AT_KEY:Ljava/lang/String;
-
-
方法详细资料
-
getAngerTime
int getAngerTime()
- Mappings:
Namespace Name Mixin selector official H_Late;H_()Iintermediary method_29507Lnet/minecraft/class_5354;method_29507()Inamed getAngerTimeLnet/minecraft/entity/mob/Angerable;getAngerTime()I
-
setAngerTime
void setAngerTime(int ticks)
- Mappings:
Namespace Name Mixin selector official a_Late;a_(I)Vintermediary method_29514Lnet/minecraft/class_5354;method_29514(I)Vnamed setAngerTimeLnet/minecraft/entity/mob/Angerable;setAngerTime(I)V
-
getAngryAt
@Nullable @Nullable UUID getAngryAt()
- Mappings:
Namespace Name Mixin selector official I_Late;I_()Ljava/util/UUID;intermediary method_29508Lnet/minecraft/class_5354;method_29508()Ljava/util/UUID;named getAngryAtLnet/minecraft/entity/mob/Angerable;getAngryAt()Ljava/util/UUID;
-
setAngryAt
void setAngryAt(@Nullable @Nullable UUID uuid)
- Mappings:
Namespace Name Mixin selector official aLate;a(Ljava/util/UUID;)Vintermediary method_29513Lnet/minecraft/class_5354;method_29513(Ljava/util/UUID;)Vnamed setAngryAtLnet/minecraft/entity/mob/Angerable;setAngryAt(Ljava/util/UUID;)V
-
chooseRandomAngerTime
void chooseRandomAngerTime()
- Mappings:
Namespace Name Mixin selector official J_Late;J_()Vintermediary method_29509Lnet/minecraft/class_5354;method_29509()Vnamed chooseRandomAngerTimeLnet/minecraft/entity/mob/Angerable;chooseRandomAngerTime()V
-
writeAngerToNbt
default void writeAngerToNbt(CompoundTag nbt)
- Mappings:
Namespace Name Mixin selector official cLate;c(Lmv;)Vintermediary method_29517Lnet/minecraft/class_5354;method_29517(Lnet/minecraft/class_2487;)Vnamed writeAngerToNbtLnet/minecraft/entity/mob/Angerable;writeAngerToNbt(Lnet/minecraft/nbt/CompoundTag;)V
-
readAngerFromNbt
default void readAngerFromNbt(World world, CompoundTag nbt)
- Mappings:
Namespace Name Mixin selector official aLate;a(Lbvr;Lmv;)Vintermediary method_29512Lnet/minecraft/class_5354;method_29512(Lnet/minecraft/class_1937;Lnet/minecraft/class_2487;)Vnamed readAngerFromNbtLnet/minecraft/entity/mob/Angerable;readAngerFromNbt(Lnet/minecraft/world/World;Lnet/minecraft/nbt/CompoundTag;)V
-
tickAngerLogic
default void tickAngerLogic(ServerWorld world, boolean bool)
- Mappings:
Namespace Name Mixin selector official aLate;a(Labj;Z)Vintermediary method_29510Lnet/minecraft/class_5354;method_29510(Lnet/minecraft/class_3218;Z)Vnamed tickAngerLogicLnet/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_Late;a_(Lasy;)Zintermediary method_29515Lnet/minecraft/class_5354;method_29515(Lnet/minecraft/class_1309;)Znamed shouldAngerAtLnet/minecraft/entity/mob/Angerable;shouldAngerAt(Lnet/minecraft/entity/LivingEntity;)Z
-
isUniversallyAngry
default boolean isUniversallyAngry(World world)
- Mappings:
Namespace Name Mixin selector official bLate;b(Lbvr;)Zintermediary method_29923Lnet/minecraft/class_5354;method_29923(Lnet/minecraft/class_1937;)Znamed isUniversallyAngryLnet/minecraft/entity/mob/Angerable;isUniversallyAngry(Lnet/minecraft/world/World;)Z
-
hasAngerTime
default boolean hasAngerTime()
- Mappings:
Namespace Name Mixin selector official K_Late;K_()Zintermediary method_29511Lnet/minecraft/class_5354;method_29511()Znamed hasAngerTimeLnet/minecraft/entity/mob/Angerable;hasAngerTime()Z
-
forgive
default void forgive(PlayerEntity player)
- Mappings:
Namespace Name Mixin selector official bLate;b(Lbjf;)Vintermediary method_29516Lnet/minecraft/class_5354;method_29516(Lnet/minecraft/class_1657;)Vnamed forgiveLnet/minecraft/entity/mob/Angerable;forgive(Lnet/minecraft/entity/player/PlayerEntity;)V
-
universallyAnger
default void universallyAnger()
- Mappings:
Namespace Name Mixin selector official L_Late;L_()Vintermediary method_29921Lnet/minecraft/class_5354;method_29921()Vnamed universallyAngerLnet/minecraft/entity/mob/Angerable;universallyAnger()V
-
stopAnger
default void stopAnger()
- Mappings:
Namespace Name Mixin selector official M_Late;M_()Vintermediary method_29922Lnet/minecraft/class_5354;method_29922()Vnamed stopAngerLnet/minecraft/entity/mob/Angerable;stopAnger()V
-
getAttacker
@Nullable @Nullable LivingEntity getAttacker()
- Mappings:
Namespace Name Mixin selector official dzLate;dz()Lasy;intermediary method_6065Lnet/minecraft/class_5354;method_6065()Lnet/minecraft/class_1309;named getAttackerLnet/minecraft/entity/mob/Angerable;getAttacker()Lnet/minecraft/entity/LivingEntity;
-
setAttacker
void setAttacker(@Nullable @Nullable LivingEntity attacker)
- Mappings:
Namespace Name Mixin selector official aLate;a(Lasy;)Vintermediary method_6015Lnet/minecraft/class_5354;method_6015(Lnet/minecraft/class_1309;)Vnamed setAttackerLnet/minecraft/entity/mob/Angerable;setAttacker(Lnet/minecraft/entity/LivingEntity;)V
-
setAttacking
void setAttacking(@Nullable @Nullable PlayerEntity attacking)
- Mappings:
Namespace Name Mixin selector official eLate;e(Lbjf;)Vintermediary method_29505Lnet/minecraft/class_5354;method_29505(Lnet/minecraft/class_1657;)Vnamed setAttackingLnet/minecraft/entity/mob/Angerable;setAttacking(Lnet/minecraft/entity/player/PlayerEntity;)V
-
setTarget
void setTarget(@Nullable @Nullable LivingEntity target)
- Mappings:
Namespace Name Mixin selector official hLate;h(Lasy;)Vintermediary method_5980Lnet/minecraft/class_5354;method_5980(Lnet/minecraft/class_1309;)Vnamed setTargetLnet/minecraft/entity/mob/Angerable;setTarget(Lnet/minecraft/entity/LivingEntity;)V
-
getTarget
@Nullable @Nullable LivingEntity getTarget()
- Mappings:
Namespace Name Mixin selector official GLate;G()Lasy;intermediary method_5968Lnet/minecraft/class_5354;method_5968()Lnet/minecraft/class_1309;named getTargetLnet/minecraft/entity/mob/Angerable;getTarget()Lnet/minecraft/entity/LivingEntity;
-
-