Package mcp.mobius.waila.api
Interface ICommonAccessor
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() -
getBlockId
ResourceLocation getBlockId() -
getBlockEntity
-
getEntity
-
getPosition
BlockPos getPosition() -
getRenderingPosition
-
getServerDataTime
long getServerDataTime() -
getData
IDataReader getData() -
getSide
-
getStack
ItemStack getStack() -
getUpdateId
int getUpdateId() -
getRayCastOrigin
Vec3 getRayCastOrigin() -
getRayCastDirection
Vec3 getRayCastDirection() -
getRayCastMaxDistance
double getRayCastMaxDistance() -
getFrameTime
float getFrameTime()
-