net.minecraft.world.level.block.entity

public class BellBlockEntity

extends BlockEntity

cin
net.minecraft.world.level.block.entity.BellBlockEntity
net.minecraft.class_3721
net.minecraft.block.entity.BellBlockEntity
net.minecraft.src.C_1989_
net.minecraft.world.level.block.entity.TileEntityBell

Field summary

Modifier and TypeField
private static final int
d
DURATION
field_31316
field_31316
f_155164_
private static final int
e
GLOW_DURATION
field_31317
field_31317
f_155165_
private static final int
f
MIN_TICKS_BETWEEN_SEARCHES
field_31318
field_31318
f_155166_
private static final int
g
MAX_RESONATION_TICKS
field_31319
field_31319
f_155167_
private static final int
h
TICKS_BEFORE_RESONATION
field_31320
field_31320
f_155168_
private static final int
i
SEARCH_RADIUS
field_31321
field_31321
f_155169_
private static final int
j
HEAR_BELL_RADIUS
field_31322
field_31322
f_155170_
private static final int
k
HIGHLIGHT_RAIDERS_RADIUS
field_31323
field_31323
f_155171_
private long
l
lastRingTimestamp
field_19155
lastRingTime
f_58816_
public int
a
ticks
field_17095
ringTicks
f_58813_
public boolean
b
shaking
field_17096
ringing
f_58814_
public Direction
c
clickDirection
field_17097
lastSideHit
f_58815_
private List<LivingEntity>
m
nearbyEntities
field_19156
hearingEntities
f_58817_
private boolean
q
resonating
field_19157
resonating
f_58818_
private int
r
resonationTicks
field_19158
resonateTime
f_58819_

Constructor summary

ModifierConstructor
public (BlockPos pos, BlockState state)

Method summary

Modifier and TypeMethod
public boolean
a_(int arg0, int arg1)
triggerEvent(int arg0, int arg1)
method_11004(int arg0, int arg1)
onSyncedBlockEvent(int arg0, int arg1)
m_7531_(int p_58838_, int arg1)
setProperty(int arg0, int arg1)
private static void
a(bwp arg0, gg arg1, cks arg2, cin arg3, cin$a arg4)
tick(Level arg0, BlockPos arg1, BlockState arg2, BellBlockEntity arg3, BellBlockEntity$ResonationEndAction arg4)
method_31658(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_3721 arg3, class_3721$class_5557 arg4)
tick(World world, BlockPos pos, BlockState state, BellBlockEntity blockEntity, BellBlockEntity$Effect bellEffect)
m_155180_(C_1596_ p_155181_, C_4675_ p_155182_, C_2064_ p_155183_, C_1989_ p_155184_, C_1989_$C_141243_ p_155185_)
public static void
a(bwp arg0, gg arg1, cks arg2, cin arg3)
clientTick(Level arg0, BlockPos arg1, BlockState arg2, BellBlockEntity arg3)
method_31657(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_3721 arg3)
clientTick(World world, BlockPos pos, BlockState state, BellBlockEntity blockEntity)
m_155175_(C_1596_ p_155176_, C_4675_ p_155177_, C_2064_ p_155178_, C_1989_ p_155179_)
public static void
b(bwp arg0, gg arg1, cks arg2, cin arg3)
serverTick(Level arg0, BlockPos arg1, BlockState arg2, BellBlockEntity arg3)
method_31659(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_3721 arg3)
serverTick(World world, BlockPos pos, BlockState state, BellBlockEntity blockEntity)
m_155202_(C_1596_ p_155203_, C_4675_ p_155204_, C_2064_ p_155205_, C_1989_ p_155206_)
public void
a(gl arg0)
onHit(Direction arg0)
method_17031(class_2350 arg0)
activate(Direction direction)
m_58834_(C_4687_ arg0)
private void
d()
updateEntities()
method_20219()
notifyMemoriesOfBell()
m_58845_()
private static boolean
a(gg arg0, List<att> arg1)
areRaidersNearby(BlockPos arg0, List<LivingEntity> arg1)
method_20523(class_2338 arg0, List<class_1309> arg1)
raidersHearBell(BlockPos pos, List<LivingEntity> hearingEntities)
m_155199_(C_4675_ p_155200_, List<C_524_> p_155201_)
private static void
a(bwp arg0, gg arg1, List<att> arg2)
makeRaidersGlow(Level arg0, BlockPos arg1, List<LivingEntity> arg2)
method_20521(class_1937 arg0, class_2338 arg1, List<class_1309> arg2)
applyGlowToRaiders(World world, BlockPos pos, List<LivingEntity> hearingEntities)
m_155186_(C_1596_ p_155187_, C_4675_ p_155188_, List<C_524_> p_155189_)
private static void
b(bwp arg0, gg arg1, List<att> arg2)
showBellParticles(Level arg0, BlockPos arg1, List<LivingEntity> arg2)
method_20218(class_1937 arg0, class_2338 arg1, List<class_1309> arg2)
applyParticlesToRaiders(World world, BlockPos pos, List<LivingEntity> hearingEntities)
m_155207_(C_1596_ p_155208_, C_4675_ p_155209_, List<C_524_> p_155210_)
private static boolean
a(gg arg0, att arg1)
isRaiderWithinRange(BlockPos arg0, LivingEntity arg1)
method_20518(class_2338 arg0, class_1309 arg1)
isRaiderEntity(BlockPos pos, LivingEntity entity)
m_155196_(C_4675_ p_155197_, C_524_ p_155198_)
private static void
a(att arg0)
glow(LivingEntity arg0)
method_20520(class_1309 arg0)
applyGlowToEntity(LivingEntity entity)
m_58840_(C_524_ p_58841_)