Record Class RecipeBookAddS2CPacket.Entry
java.lang.Object
java.lang.Record
net.minecraft.network.packet.s2c.play.RecipeBookAddS2CPacket.Entry
- Record Components:
contents-flags-
- Enclosing class:
RecipeBookAddS2CPacket
- Mappings:
Namespace Name named net/minecraft/network/packet/s2c/play/RecipeBookAddS2CPacket$Entryintermediary net/minecraft/class_10266$class_10267official afe$anamed contentsintermediary comp_3233official dnamed flagsintermediary comp_3234official e
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final class_10297The field for thecontentsrecord component.static final bytestatic final byteprivate final byteThe field for theflagsrecord component.static final PacketCodec<RegistryByteBuf, RecipeBookAddS2CPacket.Entry> -
Constructor Summary
ConstructorsConstructorDescriptionEntry(class_10297 class_10297, boolean bool, boolean bool2) Entry(class_10297 class_10297, byte byte2) -
Method Summary
Modifier and TypeMethodDescriptioncontents()Returns the value of thecontentsrecord component.final booleanIndicates whether some other object is "equal to" this one.byteflags()Returns the value of theflagsrecord component.final inthashCode()Returns a hash code value for this object.booleanbooleanfinal StringtoString()Returns a string representation of this record class.
-
Field Details
-
contents
The field for thecontentsrecord component. -
flags
private final byte flagsThe field for theflagsrecord component. -
field_54518
public static final byte field_54518- See Also:
- Mappings:
Namespace Name Mixin selector named field_54518Lnet/minecraft/network/packet/s2c/play/RecipeBookAddS2CPacket$Entry;field_54518:Bintermediary field_54518Lnet/minecraft/class_10266$class_10267;field_54518:Bofficial aLafe$a;a:B
-
field_54519
public static final byte field_54519- See Also:
- Mappings:
Namespace Name Mixin selector named field_54519Lnet/minecraft/network/packet/s2c/play/RecipeBookAddS2CPacket$Entry;field_54519:Bintermediary field_54519Lnet/minecraft/class_10266$class_10267;field_54519:Bofficial bLafe$a;b:B
-
PACKET_CODEC
- Mappings:
Namespace Name Mixin selector named PACKET_CODECLnet/minecraft/network/packet/s2c/play/RecipeBookAddS2CPacket$Entry;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;intermediary field_54520Lnet/minecraft/class_10266$class_10267;field_54520:Lnet/minecraft/class_9139;official cLafe$a;c:Lzt;
-
-
Constructor Details
-
Entry
-
Entry
-
-
Method Details
-
method_64561
public boolean method_64561()- Mappings:
Namespace Name Mixin selector named method_64561Lnet/minecraft/network/packet/s2c/play/RecipeBookAddS2CPacket$Entry;method_64561()Zintermediary method_64561Lnet/minecraft/class_10266$class_10267;method_64561()Zofficial aLafe$a;a()Z
-
method_64562
public boolean method_64562()- Mappings:
Namespace Name Mixin selector named method_64562Lnet/minecraft/network/packet/s2c/play/RecipeBookAddS2CPacket$Entry;method_64562()Zintermediary method_64562Lnet/minecraft/class_10266$class_10267;method_64562()Zofficial bLafe$a;b()Z
-
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 '=='. -
contents
Returns the value of thecontentsrecord component.- Returns:
- the value of the
contentsrecord component
-
flags
public byte flags()Returns the value of theflagsrecord component.- Returns:
- the value of the
flagsrecord component
-