net.minecraft.world.entity.monster.warden

public class WardenSpawnTracker

cba
net.minecraft.world.entity.monster.warden.WardenSpawnTracker
net.minecraft.class_7262
net.minecraft.block.entity.SculkShriekerWarningManager
net.minecraft.src.C_213067_
net.minecraft.world.entity.monster.warden.WardenSpawnTracker

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<WardenSpawnTracker>
a
CODEC
field_38183
CODEC
f_219557_
public static final int
b
MAX_WARNING_LEVEL
field_38184
MAX_WARNING_LEVEL
f_219558_
private static final double
c
PLAYER_SEARCH_RADIUS
field_38738
WARN_RANGE
f_219559_
private static final int
d
WARNING_CHECK_DIAMETER
field_38186
WARN_WARDEN_RANGE
f_219560_
private static final int
e
DECREASE_WARNING_LEVEL_EVERY_INTERVAL
field_38187
WARN_DECREASE_COOLDOWN
f_219561_
private static final int
f
WARNING_LEVEL_INCREASE_COOLDOWN
field_38188
WARN_INCREASE_COOLDOWN
f_219562_
private int
g
ticksSinceLastWarning
field_38194
ticksSinceLastWarning
f_219563_
private int
h
warningLevel
field_38195
warningLevel
f_219564_
private int
i
cooldownTicks
field_38196
cooldownTicks
f_219565_

Constructor summary

ModifierConstructor
public (int ticksSinceLastWarning, int warningLevel, int cooldownTicks)

Method summary

Modifier and TypeMethod
public void
a()
tick()
method_42247()
tick()
m_219571_()
public void
b()
reset()
method_42258()
reset()
m_219593_()
public static OptionalInt
a(akq arg0, gw arg1, akr arg2)
tryWarn(ServerLevel arg0, BlockPos arg1, ServerPlayer arg2)
method_42250(class_3218 arg0, class_2338 arg1, class_3222 arg2)
warnNearbyPlayers(ServerWorld world, BlockPos pos, ServerPlayerEntity player)
m_219577_(C_12_ p_219578_, C_4675_ p_219579_, C_13_ p_219580_)
private boolean
d()
onCooldown()
method_44003()
isInCooldown()
m_219602_()
private static boolean
a(akq arg0, gw arg1)
hasNearbyWarden(ServerLevel arg0, BlockPos arg1)
method_42259(class_3218 arg0, class_2338 arg1)
canIncreaseWarningLevel(ServerWorld world, BlockPos pos)
m_219574_(C_12_ p_219575_, C_4675_ p_219576_)
private static List<ServerPlayer>
b(akq arg0, gw arg1)
getNearbyPlayers(ServerLevel arg0, BlockPos arg1)
method_42265(class_3218 arg0, class_2338 arg1)
getPlayersInRange(ServerWorld world, BlockPos pos)
m_219594_(C_12_ p_219595_, C_4675_ p_219596_)
private void
e()
increaseWarningLevel()
method_42261()
increaseWarningLevel()
m_219605_()
private void
f()
decreaseWarningLevel()
method_42264()
decreaseWarningLevel()
m_219608_()
public void
a(int arg0)
setWarningLevel(int arg0)
method_42248(int arg0)
setWarningLevel(int warningLevel)
m_219572_(int arg0)
public int
c()
getWarningLevel()
method_42267()
getWarningLevel()
m_219599_()
private void
a(cba arg0)
copyData(WardenSpawnTracker arg0)
method_42252(class_7262 arg0)
copy(SculkShriekerWarningManager other)
m_219583_(C_213067_ arg0)