Package net.minecraft.block.entity
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate
(int minX, int minY, int minZ, int maxX, int maxY, int maxZ) final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.localPos()
Returns the value of thelocalPos
record component.size()
Returns the value of thesize
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
Constructor Details
-
Method Details
-
create
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
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. -
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. -
equals
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 withObjects::equals(Object,Object)
. -
localPos
Returns the value of thelocalPos
record component.- Returns:
- the value of the
localPos
record component
-
size
Returns the value of thesize
record component.- Returns:
- the value of the
size
record component
-