Interface BlockNBTComponent.LocalPos

All Superinterfaces:
BlockNBTComponent.Pos
Enclosing interface:
BlockNBTComponent

public static interface BlockNBTComponent.LocalPos extends BlockNBTComponent.Pos
A local position.
Since:
4.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    Gets the forwards value.
    double
    Gets the left value.
    localPos(double left, double up, double forwards)
    Creates a local position with the given values.
    double
    up()
    Gets the up value.

    Methods inherited from interface BlockNBTComponent.Pos

    asString
  • Method Details

    • localPos

      static BlockNBTComponent.LocalPos localPos(double left, double up, double forwards)
      Creates a local position with the given values.
      Parameters:
      left - the left value
      up - the up value
      forwards - the forwards value
      Returns:
      a local position
      Since:
      4.10.0
    • left

      double left()
      Gets the left value.
      Returns:
      the left value
      Since:
      4.0.0
    • up

      double up()
      Gets the up value.
      Returns:
      the up value
      Since:
      4.0.0
    • forwards

      double forwards()
      Gets the forwards value.
      Returns:
      the forwards value
      Since:
      4.0.0