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$StructureBoxintermediary net/minecraft/class_10634$class_10636official dyr$bnamed localPosintermediary comp_3524official anamed sizeintermediary comp_3525official 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 booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.localPos()Returns the value of thelocalPosrecord component.size()Returns the value of thesizerecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
Constructor Details
-
StructureBox
-
-
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 createLnet/minecraft/block/entity/StructureBoxRendering$StructureBox;create(IIIIII)Lnet/minecraft/block/entity/StructureBoxRendering$StructureBox;intermediary method_66716Lnet/minecraft/class_10634$class_10636;method_66716(IIIIII)Lnet/minecraft/class_10634$class_10636;official aLdyr$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 thelocalPosrecord component.- Returns:
- the value of the
localPosrecord component
-
size
Returns the value of thesizerecord component.- Returns:
- the value of the
sizerecord component
-