Interface LodestoneTracker


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

    • lodestoneTracker

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

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

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

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