java.lang.Object
org.geysermc.mcprotocollib.protocol.data.game.item.component.LodestoneTracker

public class LodestoneTracker extends Object
  • Constructor Details

    • LodestoneTracker

      public LodestoneTracker(@Nullable @Nullable GlobalPos pos, boolean tracked)
  • Method Details

    • getPos

      @Nullable public @Nullable GlobalPos getPos()
    • isTracked

      public boolean isTracked()
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(@Nullable Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public @NonNull String toString()
      Overrides:
      toString in class Object
    • withPos

      public @NonNull LodestoneTracker withPos(@Nullable @Nullable GlobalPos pos)
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withTracked

      public @NonNull LodestoneTracker withTracked(boolean tracked)
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).