java.lang.Object
org.geysermc.mcprotocollib.protocol.data.game.level.map.MapIcon

public class MapIcon extends Object
  • Constructor Details

    • MapIcon

      public MapIcon(int centerX, int centerZ, @NonNull @NonNull MapIconType iconType, int iconRotation, net.kyori.adventure.text.Component displayName)
  • Method Details

    • getCenterX

      public int getCenterX()
    • getCenterZ

      public int getCenterZ()
    • getIconType

      @NonNull public @NonNull MapIconType getIconType()
    • getIconRotation

      public int getIconRotation()
    • getDisplayName

      public net.kyori.adventure.text.Component getDisplayName()
    • 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