net.minecraft.world.level.gameevent

public class BlockPositionSource

implements PositionSource

dxv
net.minecraft.world.level.gameevent.BlockPositionSource
net.minecraft.class_5707
net.minecraft.world.event.BlockPositionSource
net.minecraft.src.C_141302_
net.minecraft.world.level.gameevent.BlockPositionSource

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<BlockPositionSource>
a
CODEC
field_28137
CODEC
f_157699_
public static final StreamCodec<io.netty.buffer.ByteBuf, BlockPositionSource>
b
STREAM_CODEC
field_48377
PACKET_CODEC
f_316003_
private final BlockPos
e
pos
field_28138
pos
f_157700_

Constructor summary

ModifierConstructor
public (BlockPos pos)

Method summary

Modifier and TypeMethod
public Optional<Vec3>
a(dcw arg0)
getPosition(Level arg0)
method_32956(class_1937 arg0)
getPos(World arg0)
m_142502_(C_1596_ arg0)
public PositionSourceType<BlockPositionSource>
a()
getType()
method_32955()
getType()
m_142510_()