net.minecraft.world.entity.monster.warden

public class WardenSpawnTracker

cpc
net.minecraft.world.entity.monster.warden.WardenSpawnTracker
net.minecraft.class_7262
net.minecraft.unmapped.C_klpebnoe
net.minecraft.block.entity.SculkShriekerWarningManager
net.minecraft.block.sculk.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
f_widnfkil
CODEC
CODEC
f_219557_
public static final int
b
MAX_WARNING_LEVEL
field_38184
f_oyqmgedj
MAX_WARNING_LEVEL
MAX_WARNING_LEVEL
f_219558_
private static final double
c
PLAYER_SEARCH_RADIUS
field_38738
f_tltabime
WARN_RANGE
WARNING_RADIUS
f_219559_
private static final int
d
WARNING_CHECK_DIAMETER
field_38186
f_zczqaqdd
WARN_WARDEN_RANGE
WARNING_CHECK_DIAMETER
f_219560_
private static final int
e
DECREASE_WARNING_LEVEL_EVERY_INTERVAL
field_38187
f_ylnutkcy
WARN_DECREASE_COOLDOWN
WARNING_LEVEL_DECREASE_INTERVAL
f_219561_
private static final int
f
WARNING_LEVEL_INCREASE_COOLDOWN
field_38188
f_kfvcgotx
WARN_INCREASE_COOLDOWN
WARNING_LEVEL_INCREASE_COOLDOWN
f_219562_
private int
g
ticksSinceLastWarning
field_38194
f_xutcxagz
ticksSinceLastWarning
ticksSinceLastWarning
f_219563_
private int
h
warningLevel
field_38195
f_nvbvegba
warningLevel
warningLevel
f_219564_
private int
i
cooldownTicks
field_38196
f_gpcmqdtf
cooldownTicks
cooldownTicks
f_219565_

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a()
tick()
method_42247()
m_ugsninax()
tick()
tick()
m_219571_()
public void
b()
reset()
method_42258()
m_zkmbhcfa()
reset()
reset()
m_219593_()
public static OptionalInt
a(ash arg0, jh arg1, asi arg2)
tryWarn(ServerLevel arg0, BlockPos arg1, ServerPlayer arg2)
method_42250(class_3218 arg0, class_2338 arg1, class_3222 arg2)
m_avqyccgu(C_bdwnwhiu arg0, C_hynzadkk arg1, C_mxrobsgg arg2)
warnNearbyPlayers(ServerWorld world, BlockPos pos, ServerPlayerEntity player)
tryWarnPlayers(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()
m_pepdetwg()
isInCooldown()
isCoolingDown()
m_219602_()
private static boolean
a(ash arg0, jh arg1)
hasNearbyWarden(ServerLevel arg0, BlockPos arg1)
method_42259(class_3218 arg0, class_2338 arg1)
m_tdtziagv(C_bdwnwhiu arg0, C_hynzadkk arg1)
isWardenNearby(ServerWorld world, BlockPos pos)
hasNearbyWarden(ServerWorld world, BlockPos pos)
m_219574_(C_12_ p_219575_, C_4675_ p_219576_)
private static List<ServerPlayer>
b(ash arg0, jh arg1)
getNearbyPlayers(ServerLevel arg0, BlockPos arg1)
method_42265(class_3218 arg0, class_2338 arg1)
m_gbxgqeod(C_bdwnwhiu arg0, C_hynzadkk arg1)
getPlayersInRange(ServerWorld world, BlockPos pos)
getPlayersInRange(ServerWorld world, BlockPos pos)
m_219594_(C_12_ p_219595_, C_4675_ p_219596_)
private void
e()
increaseWarningLevel()
method_42261()
m_qfuhdiht()
increaseWarningLevel()
increaseWarningLevel()
m_219605_()
private void
f()
decreaseWarningLevel()
method_42264()
m_wbjkzroe()
decreaseWarningLevel()
decreaseWarningLevel()
m_219608_()
public void
a(int arg0)
setWarningLevel(int arg0)
method_42248(int arg0)
m_nnysvuub(int arg0)
setWarningLevel(int warningLevel)
setWarningLevel(int level)
m_219572_(int arg0)
public int
c()
getWarningLevel()
method_42267()
m_ussralhe()
getWarningLevel()
getWarningLevel()
m_219599_()
private void
a(cpc arg0)
copyData(WardenSpawnTracker arg0)
method_42252(class_7262 arg0)
m_fzhrmnbb(C_klpebnoe arg0)
copy(SculkShriekerWarningManager other)
copyValues(SculkShriekerWarningManager manager)
m_219583_(C_213067_ arg0)