net.minecraft.world.level.gameevent

public class BlockPositionSource

implements PositionSource

cot
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.Codec<BlockPositionSource>
a
CODEC
field_28137
CODEC
f_157699_
final Optional<BlockPos>
c
pos
field_28138
pos
f_157700_

Constructor summary

ModifierConstructor
public (BlockPos pos)
public (Optional<BlockPos> pos)

Method summary

Modifier and TypeMethod
public Optional<BlockPos>
a(bwq arg0)
getPosition(Level arg0)
method_32956(class_1937 arg0)
getPos(World arg0)
m_142502_(C_1596_ arg0)
public PositionSourceType<?>
a()
getType()
method_32955()
getType()
m_142510_()