Interface SubLevelAccess

All Known Subinterfaces:
ClientSubLevelAccess

public interface SubLevelAccess
Access to basic read-only sublevel info.
Since:
1.0.0
  • Method Details

    • logicalPose

      @Contract(pure=true) Pose3dc logicalPose()
      Returns:
      The current pose of this sub-level
    • lastPose

      @Contract(pure=true) Pose3dc lastPose()
      Returns:
      The pose of this sub-level from the previous tick
    • boundingBox

      @Contract(pure=true) BoundingBox3dc boundingBox()
      Returns:
      The global bounding box of this sub-level
    • getUniqueId

      @Contract(pure=true) UUID getUniqueId()
      The UUID of a sub-level is networked and consistent across saving/loading
      Returns:
      The UUID of this sub-level
    • getName

      @Contract(pure=true) @Nullable @Nullable String getName()
      Returns:
      The display name of this sub-level, if present.