net.minecraft.world.level.gameevent.vibrations

public record VibrationInfo

dyg
net.minecraft.world.level.gameevent.vibrations.VibrationInfo
net.minecraft.class_7269
net.minecraft.world.event.listener.Vibration
net.minecraft.src.C_243405_
net.minecraft.world.level.gameevent.vibrations.VibrationInfo

Field summary

Modifier and TypeField
private final Holder<GameEvent>
b
gameEvent
comp_657
gameEvent
f_243709_
private final float
c
distance
comp_658
distance
f_243776_
private final Vec3
d
pos
comp_659
pos
f_243906_
private final UUID
e
uuid
comp_660
uuid
f_243797_
private final UUID
f
projectileOwnerUuid
comp_681
projectileOwnerUuid
f_243913_
private final Entity
g
entity
comp_661
entity
f_244048_
public static final com.mojang.serialization.Codec<VibrationInfo>
a
CODEC
field_38245
CODEC
f_244481_

Constructor summary

ModifierConstructor
public (Holder<GameEvent> gameEvent, float distance, Vec3 pos, UUID uuid, UUID projectileOwnerUuid)
public (Holder<GameEvent> gameEvent, float distance, Vec3 pos, Entity entity)
public (Holder<GameEvent> distance, float pos, Vec3 uuid, UUID projectileOwnerUuid, UUID entity, Entity arg5)

Method summary

Modifier and TypeMethod
private static UUID
a(bsr arg0)
getProjectileOwner(Entity arg0)
method_42684(class_1297 arg0)
getOwnerUuid(Entity entity)
m_247625_(C_507_ p_251531_)
public Optional<Entity>
a(aqu arg0)
getEntity(ServerLevel arg0)
method_42348(class_3218 arg0)
getEntity(ServerWorld world)
m_246794_(C_12_ arg0)
public Optional<Entity>
b(aqu arg0)
getProjectileOwner(ServerLevel arg0)
method_42687(class_3218 arg0)
getOwner(ServerWorld world)
m_247126_(C_12_ arg0)
public Holder<GameEvent>
a()
gameEvent()
comp_657()
gameEvent()
f_243709_()
public float
b()
distance()
comp_658()
distance()
f_243776_()
public Vec3
c()
pos()
comp_659()
pos()
f_243906_()
public UUID
d()
uuid()
comp_660()
uuid()
f_243797_()
public UUID
e()
projectileOwnerUuid()
comp_681()
projectileOwnerUuid()
f_243913_()
public Entity
f()
entity()
comp_661()
entity()
f_244048_()