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.Codec<BlockPositionSource>
-
Constructor Summary
ConstructorDescriptionBlockPositionSource
(Optional<BlockPos> p_157705_) BlockPositionSource
(BlockPos p_157703_) -
Method Summary
-
Field Details
-
CODEC
-
pos
-
-
Constructor Details
-
BlockPositionSource
-
BlockPositionSource
-
-
Method Details
-
getPosition
- Specified by:
getPosition
in interfacePositionSource
-
getType
- Specified by:
getType
in interfacePositionSource
-