net.minecraft.world.level.gameevent

public class BlockPositionSource

implements PositionSource

ebq
net.minecraft.world.level.gameevent.BlockPositionSource
net.minecraft.class_5707
net.minecraft.world.event.BlockPositionSource
net.minecraft.world.level.gameevent.BlockPositionSource

Field summary

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

Constructor summary

ModifierConstructor
public (BlockPos pos)

Method summary

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