Record Class DebugStructuresCustomPayload.Piece
java.lang.Object
java.lang.Record
net.minecraft.network.packet.s2c.custom.DebugStructuresCustomPayload.Piece
- Record Components:
boundingBox-isStart-
- Enclosing class:
DebugStructuresCustomPayload
public static record DebugStructuresCustomPayload.Piece(BlockBox boundingBox, boolean isStart)
extends Record
- Mappings:
Namespace Name named net/minecraft/network/packet/s2c/custom/DebugStructuresCustomPayload$Pieceintermediary net/minecraft/class_8726$class_8727official aax$anamed boundingBoxintermediary comp_1714official anamed isStartintermediary comp_1715official b
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final BlockBoxThe field for theboundingBoxrecord component.private final booleanThe field for theisStartrecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theboundingBoxrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanisStart()Returns the value of theisStartrecord component.final StringtoString()Returns a string representation of this record class.voidwrite(PacketByteBuf buf)
-
Field Details
-
boundingBox
The field for theboundingBoxrecord component. -
isStart
private final boolean isStartThe field for theisStartrecord component.
-
-
Constructor Details
-
Piece
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/network/packet/s2c/custom/DebugStructuresCustomPayload$Piece;<init>(Lnet/minecraft/network/PacketByteBuf;)Vintermediary <init>Lnet/minecraft/class_8726$class_8727;<init>(Lnet/minecraft/class_2540;)Vofficial <init>Laax$a;<init>(Lvw;)V
-
Piece
-
-
Method Details
-
write
- Mappings:
Namespace Name Mixin selector named writeLnet/minecraft/network/packet/s2c/custom/DebugStructuresCustomPayload$Piece;write(Lnet/minecraft/network/PacketByteBuf;)Vintermediary method_53040Lnet/minecraft/class_8726$class_8727;method_53040(Lnet/minecraft/class_2540;)Vofficial aLaax$a;a(Lvw;)V
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
boundingBox
Returns the value of theboundingBoxrecord component.- Returns:
- the value of the
boundingBoxrecord component
-
isStart
public boolean isStart()Returns the value of theisStartrecord component.- Returns:
- the value of the
isStartrecord component
-