net.minecraft.world.entity.monster.warden

public class AngerManagement

coz
net.minecraft.world.entity.monster.warden.AngerManagement
net.minecraft.class_7254
net.minecraft.entity.ai.WardenAngerManager
net.minecraft.world.entity.monster.warden.AngerManagement

Field summary

Modifier and TypeField
protected static final int
a
CONVERSION_DELAY
field_38733
field_38733
protected static final int
b
MAX_ANGER
field_38128
maxAnger
private static final int
f
DEFAULT_ANGER_DECREASE
field_38129
angerDecreasePerTick
private int
g
conversionDelay
field_38736
updateTimer
int
h
highestAnger
field_39304
primeAnger
private static final com.mojang.serialization.Codec<com.mojang.datafixers.util.Pair<UUID, Integer>>
i
SUSPECT_ANGER_PAIR
field_38737
SUSPECT_CODEC
private final Predicate<Entity>
j
filter
field_39114
suspectPredicate
protected final ArrayList<Entity>
c
suspects
field_38734
suspects
private final AngerManagement$Sorter
k
suspectSorter
field_39115
suspectComparator
protected final it.unimi.dsi.fastutil.objects.Object2IntMap<Entity>
d
angerBySuspect
field_38130
suspectsToAngerLevel
protected final it.unimi.dsi.fastutil.objects.Object2IntMap<UUID>
e
angerByUuid
field_38735
suspectUuidsToAngerLevel

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<bvk> arg0)
codec(Predicate<Entity> arg0)
method_43692(Predicate<class_1297> arg0)
createCodec(Predicate<Entity> suspectPredicate)
private List<com.mojang.datafixers.util.Pair<UUID, Integer>>
b()
createUuidAngerPairs()
method_43108()
getSuspects()
public void
a(ash arg0, Predicate<bvk> arg1)
tick(ServerLevel arg0, Predicate<Entity> arg1)
method_42176(class_3218 arg0, Predicate<class_1297> arg1)
tick(ServerWorld world, Predicate<Entity> suspectPredicate)
private void
c()
sortAndUpdateHighestAnger()
method_43998()
updatePrimeAnger()
private void
a(ash arg0)
convertFromUuids(ServerLevel arg0)
method_43104(class_3218 arg0)
updateSuspectsMap(ServerWorld world)
public int
a(bvk arg0, int arg1)
increaseAnger(Entity arg0, int arg1)
method_42179(class_1297 arg0, int arg1)
increaseAngerAt(Entity entity, int amount)
public void
a(bvk arg0)
clearAnger(Entity arg0)
method_42178(class_1297 arg0)
removeSuspect(Entity entity)
private Entity
d()
getTopSuspect()
method_42187()
getPrimeSuspectInternal()
public int
b(bvk arg0)
getActiveAnger(Entity arg0)
method_42185(class_1297 arg0)
getAngerFor(Entity entity)
public Optional<LivingEntity>
a()
getActiveEntity()
method_42181()
getPrimeSuspect()