net.minecraft.world.entity.monster.warden

public class AngerManagement

cnz
net.minecraft.world.entity.monster.warden.AngerManagement
net.minecraft.class_7254
net.minecraft.unmapped.C_fjljvdfu
net.minecraft.entity.ai.WardenAngerManager
net.minecraft.entity.mob.warden.AngerManager
net.minecraft.src.C_213058_
net.minecraft.world.entity.monster.warden.AngerManagement

Field summary

Modifier and TypeField
protected static final int
a
CONVERSION_DELAY
field_38733
f_xyavmtzt
field_38733
CONVERSION_DELAY
f_219241_
protected static final int
b
MAX_ANGER
field_38128
f_ijcjnmqm
maxAnger
MAX_ANGER
f_219242_
private static final int
f
DEFAULT_ANGER_DECREASE
field_38129
f_jnuonhtr
angerDecreasePerTick
DEFAULT_ANGER_DECREASE
f_219246_
private int
g
conversionDelay
field_38736
f_rxaaywrt
updateTimer
conversionDelay
f_219247_
int
h
highestAnger
field_39304
f_ihxrqjsc
primeAnger
highestAnger
f_219248_
private static final com.mojang.serialization.Codec<com.mojang.datafixers.util.Pair<UUID, Integer>>
i
SUSPECT_ANGER_PAIR
field_38737
f_jusivdxi
SUSPECT_CODEC
SUSPECT_ANGER_PAIR
f_219249_
private final Predicate<Entity>
j
filter
field_39114
f_kdwbrlcv
suspectPredicate
entityPredicate
f_219250_
protected final ArrayList<Entity>
c
suspects
field_38734
f_bjyoaoyp
suspects
suspects
f_219243_
private final AngerManagement$Sorter
k
suspectSorter
field_39115
f_pjzwexkx
suspectComparator
suspectSorter
f_219251_
protected final it.unimi.dsi.fastutil.objects.Object2IntMap<Entity>
d
angerBySuspect
field_38130
f_rmpjndoi
suspectsToAngerLevel
angerBySuspect
f_219244_
protected final it.unimi.dsi.fastutil.objects.Object2IntMap<UUID>
e
angerByUuid
field_38735
f_mxxhhkrn
suspectUuidsToAngerLevel
angerByUuid
f_219245_

Constructor summary

ModifierConstructor
public (Predicate<Entity> suspectPredicate, List<com.mojang.datafixers.util.Pair<UUID, Integer>> suspectUuidsToAngerLevel)

Method summary

Modifier and TypeMethod
public static com.mojang.serialization.Codec<AngerManagement>
a(Predicate<bum> arg0)
codec(Predicate<Entity> arg0)
method_43692(Predicate<class_1297> arg0)
m_zgbhpsla(Predicate<C_astfners> arg0)
createCodec(Predicate<Entity> suspectPredicate)
codec(Predicate<Entity> entityPredicate)
m_219277_(Predicate<C_507_> p_219278_)
private List<com.mojang.datafixers.util.Pair<UUID, Integer>>
b()
createUuidAngerPairs()
method_43108()
m_jsymrbub()
getSuspects()
getSuspects()
m_219285_()
public void
a(ard arg0, Predicate<bum> arg1)
tick(ServerLevel arg0, Predicate<Entity> arg1)
method_42176(class_3218 arg0, Predicate<class_1297> arg1)
m_rmopvktu(C_bdwnwhiu arg0, Predicate<C_astfners> arg1)
tick(ServerWorld world, Predicate<Entity> suspectPredicate)
tick(ServerWorld world, Predicate<Entity> entityPredicate)
m_219263_(C_12_ p_219265_, Predicate<C_507_> arg1)
private void
c()
sortAndUpdateHighestAnger()
method_43998()
m_erngyhcq()
updatePrimeAnger()
sortAndUpdateHighestAnger()
m_219288_()
private void
a(ard arg0)
convertFromUuids(ServerLevel arg0)
method_43104(class_3218 arg0)
m_gzwivjfu(C_bdwnwhiu arg0)
updateSuspectsMap(ServerWorld world)
convertFromUuids(ServerWorld world)
m_219261_(C_12_ arg0)
public int
a(bum arg0, int arg1)
increaseAnger(Entity arg0, int arg1)
method_42179(class_1297 arg0, int arg1)
m_mejwszia(C_astfners arg0, int arg1)
increaseAngerAt(Entity entity, int amount)
increaseAnger(Entity entity, int amount)
m_219268_(C_507_ p_219270_, int arg1)
public void
a(bum arg0)
clearAnger(Entity arg0)
method_42178(class_1297 arg0)
m_oatjjmqu(C_astfners arg0)
removeSuspect(Entity entity)
stopBeingAngryAt(Entity entity)
m_219266_(C_507_ arg0)
private Entity
d()
getTopSuspect()
method_42187()
m_dalpjqlu()
getPrimeSuspectInternal()
getTopSuspect()
m_219291_()
public int
b(bum arg0)
getActiveAnger(Entity arg0)
method_42185(class_1297 arg0)
m_isdczcqc(C_astfners arg0)
getAngerFor(Entity entity)
getHighestAnger(Entity entity)
m_219286_(C_507_ arg0)
public Optional<LivingEntity>
a()
getActiveEntity()
method_42181()
m_hymbxska()
getPrimeSuspect()
getActiveEntity()
m_219256_()