Class BlockPositionSource
java.lang.Object
net.minecraft.world.level.gameevent.BlockPositionSource
- All Implemented Interfaces:
PositionSource
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec
<BlockPositionSource> private final BlockPos
static final StreamCodec
<io.netty.buffer.ByteBuf, BlockPositionSource> -
Constructor Summary
-
Method Summary
-
Field Details
-
CODEC
-
STREAM_CODEC
-
pos
-
-
Constructor Details
-
BlockPositionSource
-
-
Method Details
-
getPosition
- Specified by:
getPosition
in interfacePositionSource
-
getType
- Specified by:
getType
in interfacePositionSource
-