Record Class DebugBeeCustomPayload
java.lang.Object
java.lang.Record
net.minecraft.network.packet.s2c.custom.DebugBeeCustomPayload
- Record Components:
beeInfo-
- All Implemented Interfaces:
CustomPayload
public record DebugBeeCustomPayload(DebugBeeCustomPayload.Bee beeInfo)
extends Record
implements CustomPayload
- Mappings:
Namespace Name named net/minecraft/network/packet/s2c/custom/DebugBeeCustomPayloadintermediary net/minecraft/class_8707official aafnamed beeInfointermediary comp_1648official c
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface net.minecraft.network.packet.CustomPayload
CustomPayload.CodecFactory<B extends PacketByteBuf>, CustomPayload.Id<T extends CustomPayload>, CustomPayload.Type<B extends PacketByteBuf,T extends CustomPayload> -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final DebugBeeCustomPayload.BeeThe field for thebeeInforecord component.static final PacketCodec<PacketByteBuf, DebugBeeCustomPayload> static final CustomPayload.Id<DebugBeeCustomPayload> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate -
Method Summary
Modifier and TypeMethodDescriptionbeeInfo()Returns the value of thebeeInforecord component.final booleanIndicates whether some other object is "equal to" this one.getId()final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.private voidwrite(PacketByteBuf buf)
-
Field Details
-
beeInfo
The field for thebeeInforecord component. -
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/network/packet/s2c/custom/DebugBeeCustomPayload;CODEC:Lnet/minecraft/network/codec/PacketCodec;intermediary field_48650Lnet/minecraft/class_8707;field_48650:Lnet/minecraft/class_9139;official aLaaf;a:Lyx;
-
ID
- Mappings:
Namespace Name Mixin selector named IDLnet/minecraft/network/packet/s2c/custom/DebugBeeCustomPayload;ID:Lnet/minecraft/network/packet/CustomPayload$Id;intermediary field_48651Lnet/minecraft/class_8707;field_48651:Lnet/minecraft/class_8710$class_9154;official bLaaf;b:Laaj$b;
-
-
Constructor Details
-
DebugBeeCustomPayload
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/network/packet/s2c/custom/DebugBeeCustomPayload;<init>(Lnet/minecraft/network/PacketByteBuf;)Vintermediary <init>Lnet/minecraft/class_8707;<init>(Lnet/minecraft/class_2540;)Vofficial <init>Laaf;<init>(Lvw;)V
-
DebugBeeCustomPayload
-
-
Method Details
-
write
- Mappings:
Namespace Name Mixin selector named writeLnet/minecraft/network/packet/s2c/custom/DebugBeeCustomPayload;write(Lnet/minecraft/network/PacketByteBuf;)Vintermediary method_53028Lnet/minecraft/class_8707;method_53028(Lnet/minecraft/class_2540;)Vofficial aLaaf;a(Lvw;)V
-
getId
- Specified by:
getIdin interfaceCustomPayload- Mappings:
Namespace Name Mixin selector named getIdLnet/minecraft/network/packet/CustomPayload;getId()Lnet/minecraft/network/packet/CustomPayload$Id;intermediary method_56479Lnet/minecraft/class_8710;method_56479()Lnet/minecraft/class_8710$class_9154;official aLaaj;a()Laaj$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). -
beeInfo
Returns the value of thebeeInforecord component.- Returns:
- the value of the
beeInforecord component
-