net.minecraft.world.level.gameevent.vibrations

public class VibrationListener

implements GameEventListener

dab
net.minecraft.world.level.gameevent.vibrations.VibrationListener
net.minecraft.class_5718
net.minecraft.world.event.listener.VibrationListener
net.minecraft.src.C_141315_
net.minecraft.world.level.gameevent.vibrations.VibrationListener

Field summary

Modifier and TypeField
protected final PositionSource
a
listenerSource
field_28187
positionSource
f_157887_
protected final int
b
listenerRange
field_28188
range
f_157888_
protected final VibrationListener$VibrationListenerConfig
c
config
field_28189
callback
f_157889_
protected VibrationListener$ReceivingEvent
d
receivingEvent
field_28190
vibration
f_157890_
protected float
e
receivingDistance
field_28191
distance
f_157891_
protected int
f
travelTimeInTicks
field_28192
delay
f_157892_

Constructor summary

ModifierConstructor
public (PositionSource positionSource, int range, VibrationListener$VibrationListenerConfig callback, VibrationListener$ReceivingEvent vibration, float distance, int delay)

Method summary

Modifier and TypeMethod
public static com.mojang.serialization.Codec<VibrationListener>
a(dab$b arg0)
codec(VibrationListener$VibrationListenerConfig arg0)
method_42340(class_5718$class_5719 arg0)
createCodec(VibrationListener$Callback callback)
m_223781_(C_141315_$C_141316_ p_223782_)
public void
a(cgx arg0)
tick(Level arg0)
method_32964(class_1937 arg0)
tick(World world)
m_157898_(C_1596_ arg0)
public PositionSource
a()
getListenerSource()
method_32946()
getPositionSource()
m_142460_()
public int
b()
getListenerRadius()
method_32948()
getRange()
m_142078_()
public boolean
a(agg arg0, czv$b arg1)
handleGameEvent(ServerLevel arg0, GameEvent$Message arg1)
method_32947(class_3218 arg0, class_5712$class_7447 arg1)
listen(ServerWorld arg0, GameEvent$Message arg1)
m_214068_(C_12_ p_223768_, C_141307_$C_213131_ arg1)
private void
a(agg arg0, czv arg1, czv$a arg2, dwq arg3, dwq arg4)
scheduleSignal(ServerLevel arg0, GameEvent arg1, GameEvent$Context arg2, Vec3 arg3, Vec3 arg4)
method_42339(class_3218 arg0, class_5712 arg1, class_5712$class_7397 arg2, class_243 arg3, class_243 arg4)
listen(ServerWorld world, GameEvent gameEvent, GameEvent$Emitter emitter, Vec3d start, Vec3d end)
m_223769_(C_12_ p_223771_, C_141307_ p_223772_, C_141307_$C_213130_ p_223773_, C_3046_ p_223774_, C_3046_ arg4)
private static boolean
a(cgx arg0, dwq arg1, dwq arg2)
isOccluded(Level arg0, Vec3 arg1, Vec3 arg2)
method_32966(class_1937 arg0, class_243 arg1, class_243 arg2)
isOccluded(World world, Vec3d start, Vec3d end)
m_223775_(C_1596_ p_223776_, C_3046_ p_223777_, C_3046_ p_223778_)