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$Piece- intermediary - net/minecraft/class_8726$class_8727- official - aao$a- named - boundingBox- intermediary - comp_1714- official - a- named - isStart- intermediary - comp_1715- official - b
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final BlockBoxThe field for theboundingBoxrecord component.private final booleanThe field for theisStartrecord component.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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- 
boundingBoxThe field for theboundingBoxrecord component.
- 
isStartprivate 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;)V- intermediary - <init>- Lnet/minecraft/class_8726$class_8727;<init>(Lnet/minecraft/class_2540;)V- official - <init>- Laao$a;<init>(Lvl;)V
 
- 
Piece
 
- 
- 
Method Details- 
write- Mappings:
- Namespace - Name - Mixin selector - named - write- Lnet/minecraft/network/packet/s2c/custom/DebugStructuresCustomPayload$Piece;write(Lnet/minecraft/network/PacketByteBuf;)V- intermediary - method_53040- Lnet/minecraft/class_8726$class_8727;method_53040(Lnet/minecraft/class_2540;)V- official - a- Laao$a;a(Lvl;)V
 
- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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 '=='.
- 
boundingBoxReturns the value of theboundingBoxrecord component.- Returns:
- the value of the boundingBoxrecord component
 
- 
isStartpublic boolean isStart()Returns the value of theisStartrecord component.- Returns:
- the value of the isStartrecord component
 
 
-