net.minecraft.world.entity.monster.warden

public class AngerManagement

bvs
net.minecraft.world.entity.monster.warden.AngerManagement
net.minecraft.class_7254
net.minecraft.entity.ai.WardenAngerManager
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
field_38733
f_219241_
protected static final int
b
MAX_ANGER
field_38128
maxAnger
f_219242_
private static final int
f
DEFAULT_ANGER_DECREASE
field_38129
angerDecreasePerTick
f_219246_
private int
g
conversionDelay
field_38736
updateTimer
f_219247_
int
h
highestAnger
field_39304
primeAnger
f_219248_
private static final com.mojang.serialization.Codec<com.mojang.datafixers.util.Pair<UUID, Integer>>
i
SUSPECT_ANGER_PAIR
field_38737
SUSPECT_CODEC
f_219249_
private final Predicate<Entity>
j
filter
field_39114
suspectPredicate
f_219250_
protected final ArrayList<Entity>
c
suspects
field_38734
suspects
f_219243_
private final AngerManagement$Sorter
k
suspectSorter
field_39115
suspectComparator
f_219251_
protected final it.unimi.dsi.fastutil.objects.Object2IntMap<Entity>
d
angerBySuspect
field_38130
suspectsToAngerLevel
f_219244_
protected final it.unimi.dsi.fastutil.objects.Object2IntMap<UUID>
e
angerByUuid
field_38735
suspectUuidsToAngerLevel
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<bdr> arg0)
codec(Predicate<Entity> arg0)
method_43692(Predicate<class_1297> arg0)
createCodec(Predicate<Entity> suspectPredicate)
m_219277_(Predicate<C_507_> p_219278_)
private List<com.mojang.datafixers.util.Pair<UUID, Integer>>
b()
createUuidAngerPairs()
method_43108()
getSuspects()
m_219285_()
public void
a(ahm arg0, Predicate<bdr> arg1)
tick(ServerLevel arg0, Predicate<Entity> arg1)
method_42176(class_3218 arg0, Predicate<class_1297> arg1)
tick(ServerWorld world, Predicate<Entity> suspectPredicate)
m_219263_(C_12_ p_219265_, Predicate<C_507_> arg1)
private void
c()
sortAndUpdateHighestAnger()
method_43998()
updatePrimeAnger()
m_219288_()
private void
a(ahm arg0)
convertFromUuids(ServerLevel arg0)
method_43104(class_3218 arg0)
updateSuspectsMap(ServerWorld world)
m_219261_(C_12_ arg0)
public int
a(bdr arg0, int arg1)
increaseAnger(Entity arg0, int arg1)
method_42179(class_1297 arg0, int arg1)
increaseAngerAt(Entity entity, int amount)
m_219268_(C_507_ p_219270_, int arg1)
public void
a(bdr arg0)
clearAnger(Entity arg0)
method_42178(class_1297 arg0)
removeSuspect(Entity entity)
m_219266_(C_507_ arg0)
private Entity
d()
getTopSuspect()
method_42187()
getPrimeSuspectInternal()
m_219291_()
public int
b(bdr arg0)
getActiveAnger(Entity arg0)
method_42185(class_1297 arg0)
getAngerFor(Entity entity)
m_219286_(C_507_ arg0)
public Optional<LivingEntity>
a()
getActiveEntity()
method_42181()
getPrimeSuspect()
m_219256_()