Record Class StructureBoxRendering.StructureBox

java.lang.Object
java.lang.Record
net.minecraft.block.entity.StructureBoxRendering.StructureBox
Record Components:
localPos -
size -
Enclosing interface:
StructureBoxRendering

public static record StructureBoxRendering.StructureBox(BlockPos localPos, Vec3i size) extends Record
Mappings:
Namespace Name
named net/minecraft/block/entity/StructureBoxRendering$StructureBox
intermediary net/minecraft/class_10634$class_10636
official dyr$b
named localPos
intermediary comp_3524
official a
named size
intermediary comp_3525
official b
  • Field Details Link icon

    • localPos Link icon

      private final BlockPos localPos
      The field for the localPos record component.
    • size Link icon

      private final Vec3i size
      The field for the size record component.
  • Constructor Details Link icon

    • StructureBox Link icon

      public StructureBox(BlockPos blockPos, Vec3i vec3i)
  • Method Details Link icon

    • create Link icon

      public static StructureBoxRendering.StructureBox create(int minX, int minY, int minZ, int maxX, int maxY, int maxZ)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/block/entity/StructureBoxRendering$StructureBox;create(IIIIII)Lnet/minecraft/block/entity/StructureBoxRendering$StructureBox;
      intermediary method_66716 Lnet/minecraft/class_10634$class_10636;method_66716(IIIIII)Lnet/minecraft/class_10634$class_10636;
      official a Ldyr$b;a(IIIIII)Ldyr$b;
    • toString Link icon

      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 Link icon

      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 Link icon

      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. All components in this record class are compared with Objects::equals(Object,Object).
      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.
    • localPos Link icon

      public BlockPos localPos()
      Returns the value of the localPos record component.
      Returns:
      the value of the localPos record component
    • size Link icon

      public Vec3i size()
      Returns the value of the size record component.
      Returns:
      the value of the size record component