Record Class WorldGenMembershipView.ZoneUniqueRule

java.lang.Object
java.lang.Record
com.hypixel.hytale.builtin.worldgen.assets.WorldGenMembershipView.ZoneUniqueRule
Enclosing interface:
WorldGenMembershipView

public static record WorldGenMembershipView.ZoneUniqueRule(String zoneKey, String worldKey, String color, int rgb, List<String> parentColors, List<Integer> parentRgbs, int radius, int padding, boolean pinned, @Nullable Integer convertedRank, int sourceIndex) extends Record
  • Constructor Summary

    Constructors
    Constructor
    Description
    ZoneUniqueRule(String zoneKey, String worldKey, String color, int rgb, List<String> parentColors, List<Integer> parentRgbs, int radius, int padding, boolean pinned, Integer convertedRank, int sourceIndex)
    Creates an instance of a ZoneUniqueRule record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the value of the color record component.
    Returns the value of the convertedRank record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    final int
    Returns a hash code value for this object.
    int
    Returns the value of the padding record component.
    Returns the value of the parentColors record component.
    Returns the value of the parentRgbs record component.
    boolean
    Returns the value of the pinned record component.
    int
    Returns the value of the radius record component.
    int
    rgb()
    Returns the value of the rgb record component.
    int
    Returns the value of the sourceIndex record component.
    final String
    Returns a string representation of this record class.
    Returns the value of the worldKey record component.
    Returns the value of the zoneKey record component.

    Methods inherited from class Object

    getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ZoneUniqueRule

      public ZoneUniqueRule(String zoneKey, String worldKey, String color, int rgb, List<String> parentColors, List<Integer> parentRgbs, int radius, int padding, boolean pinned, @Nullable Integer convertedRank, int sourceIndex)
      Creates an instance of a ZoneUniqueRule record class.
      Parameters:
      zoneKey - the value for the zoneKey record component
      worldKey - the value for the worldKey record component
      color - the value for the color record component
      rgb - the value for the rgb record component
      parentColors - the value for the parentColors record component
      parentRgbs - the value for the parentRgbs record component
      radius - the value for the radius record component
      padding - the value for the padding record component
      pinned - the value for the pinned record component
      convertedRank - the value for the convertedRank record component
      sourceIndex - the value for the sourceIndex record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with the compare method from their corresponding wrapper classes.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • zoneKey

      public String zoneKey()
      Returns the value of the zoneKey record component.
      Returns:
      the value of the zoneKey record component
    • worldKey

      public String worldKey()
      Returns the value of the worldKey record component.
      Returns:
      the value of the worldKey record component
    • color

      public String color()
      Returns the value of the color record component.
      Returns:
      the value of the color record component
    • rgb

      public int rgb()
      Returns the value of the rgb record component.
      Returns:
      the value of the rgb record component
    • parentColors

      public List<String> parentColors()
      Returns the value of the parentColors record component.
      Returns:
      the value of the parentColors record component
    • parentRgbs

      public List<Integer> parentRgbs()
      Returns the value of the parentRgbs record component.
      Returns:
      the value of the parentRgbs record component
    • radius

      public int radius()
      Returns the value of the radius record component.
      Returns:
      the value of the radius record component
    • padding

      public int padding()
      Returns the value of the padding record component.
      Returns:
      the value of the padding record component
    • pinned

      public boolean pinned()
      Returns the value of the pinned record component.
      Returns:
      the value of the pinned record component
    • convertedRank

      @Nullable public Integer convertedRank()
      Returns the value of the convertedRank record component.
      Returns:
      the value of the convertedRank record component
    • sourceIndex

      public int sourceIndex()
      Returns the value of the sourceIndex record component.
      Returns:
      the value of the sourceIndex record component