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 aaq$a
named boundingBox
intermediary comp_1714
official a
named isStart
intermediary comp_1715
official b
-
Field Summary
Modifier and TypeFieldDescriptionprivate final BlockBox
The field for theboundingBox
record component.private final boolean
The field for theisStart
record component. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theboundingBox
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.boolean
isStart()
Returns the value of theisStart
record component.final String
toString()
Returns a string representation of this record class.void
write
(PacketByteBuf buf)
-
Field Details
-
boundingBox
The field for theboundingBox
record component. -
isStart
private final boolean isStartThe field for theisStart
record 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>
Laaq$a;<init>(Lvr;)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
Laaq$a;a(Lvr;)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 theboundingBox
record component.- Returns:
- the value of the
boundingBox
record component
-
isStart
public boolean isStart()Returns the value of theisStart
record component.- Returns:
- the value of the
isStart
record component
-