Interface SyncPosition<A extends Number>
- All Superinterfaces:
Position<A>
- All Known Subinterfaces:
SyncBlockPosition
,SyncExactPosition
-
Method Summary
Modifier and TypeMethodDescription<E extends LiveEntity, S extends EntitySnapshot<E>>
Optional<S>createEntity(EntityType<E,? extends S> type)
destroy()
getRelative(Vector3<?> vector)
getRelative(Direction direction)
resetBlock(LivePlayer... player)
default SyncPosition<A>
default SyncPosition<A>
setBlock(BlockDetails details)
setBlock(BlockDetails details, LivePlayer... player)
setBlock(BlockDetails details, PositionFlag.SetFlag... flags)
Methods inherited from interface org.core.world.position.impl.Position
getBlockType, getChunkPosition, getPosition, getRelative, getRelative, getWorld, getX, getY, getZ, toAsyncPosition, toBlockPosition, toExactPosition, toSyncPosition
-
Method Details
-
getBlockDetails
BlockSnapshot.SyncBlockSnapshot getBlockDetails()- Specified by:
getBlockDetails
in interfacePosition<A extends Number>
-
getRelative
- Specified by:
getRelative
in interfacePosition<A extends Number>
-
getRelative
- Specified by:
getRelative
in interfacePosition<A extends Number>
-
setBlock
-
setBlock
-
resetBlock
-
getTileEntity
Optional<LiveTileEntity> getTileEntity() -
createEntity
<E extends LiveEntity, S extends EntitySnapshot<E>> Optional<S> createEntity(EntityType<E,? extends S> type) -
destroy
SyncPosition<A> destroy() -
setBlock
-
setBlock
-