Package net.minecraft

Record Class class_8603.class_8604

java.lang.Object
java.lang.Record
net.minecraft.class_8603.class_8604
Record Components:
center -
viewDistance -
All Implemented Interfaces:
class_8603
Enclosing interface:
class_8603

public static record class_8603.class_8604(ChunkPos center, int viewDistance) extends Record implements class_8603
Mappings:
Namespace Name
official ajx$a
intermediary net/minecraft/class_8603$class_8604
named net/minecraft/class_8603$class_8604
official b
intermediary comp_1574
named center
official c
intermediary comp_1575
named viewDistance
  • Field Details

    • center

      private final ChunkPos center
      The field for the center record component.
    • viewDistance

      private final int viewDistance
      The field for the viewDistance record component.
  • Constructor Details

    • class_8604

      public class_8604(ChunkPos chunkPos, int int2)
  • Method Details

    • method_52366

      int method_52366()
      Mappings:
      Namespace Name Mixin selector
      official c Lajx$a;c()I
      intermediary method_52366 Lnet/minecraft/class_8603$class_8604;method_52366()I
      named method_52366 Lnet/minecraft/class_8603$class_8604;method_52366()I
    • method_52367

      int method_52367()
      Mappings:
      Namespace Name Mixin selector
      official d Lajx$a;d()I
      intermediary method_52367 Lnet/minecraft/class_8603$class_8604;method_52367()I
      named method_52367 Lnet/minecraft/class_8603$class_8604;method_52367()I
    • method_52368

      int method_52368()
      Mappings:
      Namespace Name Mixin selector
      official e Lajx$a;e()I
      intermediary method_52368 Lnet/minecraft/class_8603$class_8604;method_52368()I
      named method_52368 Lnet/minecraft/class_8603$class_8604;method_52368()I
    • method_52369

      int method_52369()
      Mappings:
      Namespace Name Mixin selector
      official f Lajx$a;f()I
      intermediary method_52369 Lnet/minecraft/class_8603$class_8604;method_52369()I
      named method_52369 Lnet/minecraft/class_8603$class_8604;method_52369()I
    • method_52365

      protected boolean method_52365(class_8603.class_8604 class_8604)
      Mappings:
      Namespace Name Mixin selector
      official a Lajx$a;a(Lajx$a;)Z
      intermediary method_52365 Lnet/minecraft/class_8603$class_8604;method_52365(Lnet/minecraft/class_8603$class_8604;)Z
      named method_52365 Lnet/minecraft/class_8603$class_8604;method_52365(Lnet/minecraft/class_8603$class_8604;)Z
    • method_52359

      public boolean method_52359(int int2, int int3, boolean bool)
      Specified by:
      method_52359 in interface class_8603
      Mappings:
      Namespace Name Mixin selector
      official a Lajx;a(IIZ)Z
      intermediary method_52359 Lnet/minecraft/class_8603;method_52359(IIZ)Z
      named method_52359 Lnet/minecraft/class_8603;method_52359(IIZ)Z
    • method_52363

      public void method_52363(Consumer<ChunkPos> consumer)
      Specified by:
      method_52363 in interface class_8603
      Mappings:
      Namespace Name Mixin selector
      official a Lajx;a(Ljava/util/function/Consumer;)V
      intermediary method_52363 Lnet/minecraft/class_8603;method_52363(Ljava/util/function/Consumer;)V
      named method_52363 Lnet/minecraft/class_8603;method_52363(Ljava/util/function/Consumer;)V
    • 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 object)
      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 '=='.
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • center

      public ChunkPos center()
      Returns the value of the center record component.
      Returns:
      the value of the center record component
    • viewDistance

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