Package org.core.world.position.impl
Interface Position<N extends Number>
- All Known Subinterfaces:
ASyncBlockPosition
,ASyncExactPosition
,ASyncPosition<N>
,BlockPosition
,ExactPosition
,SyncBlockPosition
,SyncExactPosition
,SyncPosition<A>
public interface Position<N extends Number>
-
Method Summary
Modifier and TypeMethodDescriptionBlockSnapshot<? extends BlockPosition>
default BlockType
getRelative(double x, double y, double z)
getRelative(int x, int y, int z)
getRelative(Vector3<?> vector)
getRelative(Direction direction)
getWorld()
default N
getX()
default N
getY()
default N
getZ()
static ASyncBlockPosition
toASync(BlockPosition position)
Deprecated, for removal: This API element is subject to removal in a future version.static ASyncExactPosition
toASync(ExactPosition position)
Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.static BlockPosition
Deprecated.static ExactPosition
Deprecated.static SyncBlockPosition
toSync(BlockPosition position)
Deprecated.static SyncExactPosition
toSync(ExactPosition position)
Deprecated.
-
Method Details
-
toBlockPosition
BlockPosition toBlockPosition() -
toExactPosition
ExactPosition toExactPosition() -
toSyncPosition
SyncPosition<N> toSyncPosition() -
toAsyncPosition
Deprecated, for removal: This API element is subject to removal in a future version. -
getChunkPosition
-
getWorld
WorldExtent getWorld() -
getBlockDetails
BlockSnapshot<? extends BlockPosition> getBlockDetails() -
getPosition
-
getRelative
-
getRelative
-
getRelative
-
getBlockType
-
getRelative
-
getX
-
getY
-
getZ
-
toBlock
Deprecated. -
toExact
Deprecated. -
toSync
Deprecated. -
toASync
Deprecated, for removal: This API element is subject to removal in a future version. -
toSync
Deprecated. -
toASync
Deprecated, for removal: This API element is subject to removal in a future version.
-