Package mcp.mobius.waila.api
Interface IBlockAccessor
Used to get some basic data out of the game without having to request direct access to the game engine.
-
Method Details
-
getWorld
Level getWorld() -
getPlayer
Player getPlayer() -
getBlock
Block getBlock() -
getBlockState
BlockState getBlockState() -
getBlockEntity
-
getBlockHitResult
BlockHitResult getBlockHitResult() -
getPosition
BlockPos getPosition() -
getRenderingPosition
-
getServerDataTime
long getServerDataTime() -
getData
IDataReader getData() -
getSide
Direction getSide() -
getStack
ItemStack getStack() -
getUpdateId
int getUpdateId() -
getRayCastOrigin
Vec3 getRayCastOrigin() -
getRayCastDirection
Vec3 getRayCastDirection() -
getRayCastMaxDistance
double getRayCastMaxDistance() -
getFrameTime
float getFrameTime()
-