Interface LodestoneTracker


@NonExtendable public interface LodestoneTracker
If present, specifies the target Lodestone that a Compass should point towards.
Since:
1.21.3
See Also:
  • Method Details

    • lodestoneTracker

      @Contract(value="_, _ -> new", pure=true) static LodestoneTracker lodestoneTracker(@Nullable Location location, boolean tracked)
      Since:
      1.21.3
    • lodestoneTracker

      @Contract(value="-> new", pure=true) static LodestoneTracker.Builder lodestoneTracker()
      Since:
      1.21.3
    • location

      @Contract(value="-> new", pure=true) @Nullable Location location()
      The location that the compass should point towards.
      Returns:
      location
      Since:
      1.21.3
    • tracked

      @Contract(pure=true) boolean tracked()
      If true, when the Lodestone at the target position is removed, the component will be removed.
      Returns:
      tracked
      Since:
      1.21.3