net.minecraft.world.level.gameevent.vibrations

public class VibrationListener

implements GameEventListener

csn
net.minecraft.world.level.gameevent.vibrations.VibrationListener
net.minecraft.class_5718
net.minecraft.unmapped.C_thoxkfuv
net.minecraft.world.event.listener.SculkSensorListener
net.minecraft.src.C_141315_
net.minecraft.world.level.gameevent.vibrations.VibrationListener

Field summary

Modifier and TypeField
protected final PositionSource
a
listenerSource
field_28187
f_osffoqbc
positionSource
f_157887_
protected final int
b
listenerRange
field_28188
f_xeepxwwz
range
f_157888_
protected final VibrationListener$VibrationListenerConfig
c
config
field_28189
f_mhohlxsl
callback
f_157889_
protected Optional<GameEvent>
d
receivingEvent
field_28190
f_gucsexva
event
f_157890_
protected int
e
receivingDistance
field_28191
f_mguvqjfo
distance
f_157891_
protected int
f
travelTimeInTicks
field_28192
f_lddfjvgl
delay
f_157892_

Constructor summary

ModifierConstructor
public (PositionSource positionSource, int range, VibrationListener$VibrationListenerConfig listener)

Method summary

Modifier and TypeMethod
public void
a(cad arg0)
tick(Level arg0)
method_32964(class_1937 arg0)
m_dfgyxazm(C_cdctfzbn arg0)
tick(World world)
m_157898_(C_1596_ arg0)
public PositionSource
a()
getListenerSource()
method_32946()
m_atojrfns()
getPositionSource()
m_142460_()
public int
b()
getListenerRadius()
method_32948()
m_btrjhyuz()
getRange()
m_142078_()
public boolean
a(cad arg0, csg arg1, awt arg2, gh arg3)
handleGameEvent(Level arg0, GameEvent arg1, Entity arg2, BlockPos arg3)
method_32947(class_1937 arg0, class_5712 arg1, class_1297 arg2, class_2338 arg3)
m_aikpqvkb(C_cdctfzbn arg0, C_cgkchrmc arg1, C_astfners arg2, C_hynzadkk arg3)
listen(World arg0, GameEvent arg1, Entity arg2, BlockPos arg3)
m_142721_(C_1596_ p_157902_, C_141307_ p_157903_, C_507_ p_157904_, C_4675_ arg3)
private boolean
a(csg arg0, awt arg1)
isValidVibration(GameEvent arg0, Entity arg1)
method_32968(class_5712 arg0, class_1297 arg1)
m_mkmkbvkh(C_cgkchrmc arg0, C_astfners arg1)
shouldActivate(GameEvent event, Entity entity)
m_157916_(C_141307_ p_157918_, C_507_ arg1)
private void
a(cad arg0, csg arg1, gh arg2, gh arg3)
sendSignal(Level arg0, GameEvent arg1, BlockPos arg2, BlockPos arg3)
method_32965(class_1937 arg0, class_5712 arg1, class_2338 arg2, class_2338 arg3)
m_zdbvbhxi(C_cdctfzbn arg0, C_cgkchrmc arg1, C_hynzadkk arg2, C_hynzadkk arg3)
listen(World world, GameEvent event, BlockPos pos, BlockPos sourcePos)
m_157905_(C_1596_ p_157907_, C_141307_ p_157908_, C_4675_ p_157909_, C_4675_ arg3)
private boolean
a(cad arg0, gh arg1, gh arg2)
isOccluded(Level arg0, BlockPos arg1, BlockPos arg2)
method_32966(class_1937 arg0, class_2338 arg1, class_2338 arg2)
m_xlamdawt(C_cdctfzbn arg0, C_hynzadkk arg1, C_hynzadkk arg2)
isOccluded(World world, BlockPos pos, BlockPos sourcePos)
m_157910_(C_1596_ p_157912_, C_4675_ p_157913_, C_4675_ arg2)