Record Class Structure.class_9594

java.lang.Object
java.lang.Record
net.minecraft.world.gen.structure.Structure.class_9594
Record Components:
offset -
dense -
Enclosing class:
Structure

public static record Structure.class_9594(Vec3i offset, boolean dense) extends Record
Mappings:
Namespace Name
official ejt$a
intermediary net/minecraft/class_3195$class_9594
named net/minecraft/world/gen/structure/Structure$class_9594
official b
intermediary comp_2599
named offset
official c
intermediary comp_2600
named dense
  • Field Details

    • offset

      private final Vec3i offset
      The field for the offset record component.
    • dense

      private final boolean dense
      The field for the dense record component.
    • field_51025

      public static final com.mojang.serialization.Codec<Structure.class_9594> field_51025
      Mappings:
      Namespace Name Mixin selector
      official a Lejt$a;a:Lcom/mojang/serialization/Codec;
      intermediary field_51025 Lnet/minecraft/class_3195$class_9594;field_51025:Lcom/mojang/serialization/Codec;
      named field_51025 Lnet/minecraft/world/gen/structure/Structure$class_9594;field_51025:Lcom/mojang/serialization/Codec;
  • Constructor Details

    • class_9594

      public class_9594(Vec3i vec3i, boolean bool)
  • Method Details

    • method_59295

      public static Structure.class_9594 method_59295(int int2, int int3, int int4, boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official a Lejt$a;a(IIIZ)Lejt$a;
      intermediary method_59295 Lnet/minecraft/class_3195$class_9594;method_59295(IIIZ)Lnet/minecraft/class_3195$class_9594;
      named method_59295 Lnet/minecraft/world/gen/structure/Structure$class_9594;method_59295(IIIZ)Lnet/minecraft/world/gen/structure/Structure$class_9594;
    • 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.
    • offset

      public Vec3i offset()
      Returns the value of the offset record component.
      Returns:
      the value of the offset record component
    • dense

      public boolean dense()
      Returns the value of the dense record component.
      Returns:
      the value of the dense record component