net.minecraft.world.level.block.entity

public class BellBlockEntity

extends BlockEntity

duv
net.minecraft.world.level.block.entity.BellBlockEntity
net.minecraft.class_3721
net.minecraft.block.entity.BellBlockEntity
net.minecraft.world.level.block.entity.TileEntityBell

Field summary

Modifier and TypeField
private static final int
d
DURATION
field_31316
MAX_RINGING_TICKS
private static final int
e
GLOW_DURATION
field_31317
field_31317
private static final int
f
MIN_TICKS_BETWEEN_SEARCHES
field_31318
field_31318
private static final int
g
MAX_RESONATION_TICKS
field_31319
MAX_RESONATING_TICKS
private static final int
h
TICKS_BEFORE_RESONATION
field_31320
field_31320
private static final int
i
SEARCH_RADIUS
field_31321
field_31321
private static final int
j
HEAR_BELL_RADIUS
field_31322
MAX_BELL_HEARING_DISTANCE
private static final int
k
HIGHLIGHT_RAIDERS_RADIUS
field_31323
field_31323
private long
l
lastRingTimestamp
field_19155
lastRingTime
public int
a
ticks
field_17095
ringTicks
public boolean
b
shaking
field_17096
ringing
public Direction
c
clickDirection
field_17097
lastSideHit
private List<LivingEntity>
m
nearbyEntities
field_19156
hearingEntities
private boolean
n
resonating
field_19157
resonating
private int
r
resonationTicks
field_19158
resonateTime

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)
private static void
a(dhi arg0, jh arg1, dxv arg2, duv arg3, duv$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)
public static void
a(dhi arg0, jh arg1, dxv arg2, duv 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)
public static void
b(dhi arg0, jh arg1, dxv arg2, duv 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)
public void
a(jm arg0)
onHit(Direction arg0)
method_17031(class_2350 arg0)
activate(Direction direction)
private void
b()
updateEntities()
method_20219()
notifyMemoriesOfBell()
private static boolean
a(jh arg0, List<bwg> arg1)
areRaidersNearby(BlockPos arg0, List<LivingEntity> arg1)
method_20523(class_2338 arg0, List<class_1309> arg1)
raidersHearBell(BlockPos pos, List<LivingEntity> hearingEntities)
private static void
a(dhi arg0, jh arg1, List<bwg> 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)
private static void
b(dhi arg0, jh arg1, List<bwg> 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)
private static boolean
a(jh arg0, bwg arg1)
isRaiderWithinRange(BlockPos arg0, LivingEntity arg1)
method_20518(class_2338 arg0, class_1309 arg1)
isRaiderEntity(BlockPos pos, LivingEntity entity)
private static void
a(bwg arg0)
glow(LivingEntity arg0)
method_20520(class_1309 arg0)
applyGlowToEntity(LivingEntity entity)