net.minecraft.world.level.gameevent.vibrations

public record VibrationInfo

ecy
net.minecraft.world.level.gameevent.vibrations.VibrationInfo
net.minecraft.class_7269
net.minecraft.world.event.listener.Vibration
net.minecraft.world.level.gameevent.vibrations.VibrationInfo

Field summary

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

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> arg0, float arg1, Vec3 arg2, UUID arg3, UUID arg4, Entity arg5)

Method summary

Modifier and TypeMethod
private static UUID
a(bvk arg0)
getProjectileOwner(Entity arg0)
method_42684(class_1297 arg0)
getOwnerUuid(Entity entity)
public Optional<Entity>
a(ash arg0)
getEntity(ServerLevel arg0)
method_42348(class_3218 arg0)
getEntity(ServerWorld world)
public Optional<Entity>
b(ash arg0)
getProjectileOwner(ServerLevel arg0)
method_42687(class_3218 arg0)
getOwner(ServerWorld world)
public Holder<GameEvent>
a()
gameEvent()
comp_657()
gameEvent()
public float
b()
distance()
comp_658()
distance()
public Vec3
c()
pos()
comp_659()
pos()
public UUID
d()
uuid()
comp_660()
uuid()
public UUID
e()
projectileOwnerUuid()
comp_681()
projectileOwnerUuid()
public Entity
f()
entity()
comp_661()
entity()