Package net.minecraft
Record Class class_9147.class_9149<L extends PacketListener>
java.lang.Object
java.lang.Record
net.minecraft.class_9147.class_9149<L>
- Record Components:
id-flow-codec-bundlerInfo-
- All Implemented Interfaces:
class_9127<L>
- Enclosing class:
class_9147<T extends PacketListener,B extends ByteBuf>
private static record class_9147.class_9149<L extends PacketListener>(NetworkState id, NetworkSide flow, PacketCodec<ByteBuf,Packet<? super L extends PacketListener>> codec, @Nullable PacketBundleHandler bundlerInfo)
extends Record
implements class_9127<L>
- Mappings:
Namespace Name official yc$bintermediary net/minecraft/class_9147$class_9149named net/minecraft/class_9147$class_9149official aintermediary comp_2234named idofficial bintermediary comp_2235named flowofficial cintermediary comp_2236named codecofficial dintermediary comp_2237named bundlerInfo
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.class_9127
class_9127.class_9128<T extends PacketListener,B extends ByteBuf> -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final @Nullable PacketBundleHandlerThe field for thebundlerInforecord component.private final PacketCodec<ByteBuf,Packet<? super L>> The field for thecodecrecord component.private final NetworkSideThe field for theflowrecord component.private final NetworkStateThe field for theidrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_9149(NetworkState networkState, NetworkSide networkSide, PacketCodec<ByteBuf, Packet<? super L>> packetCodec, @Nullable PacketBundleHandler packetBundleHandler) -
Method Summary
Modifier and TypeMethodDescriptionPacketCodec<ByteBuf,Packet<? super L>> codec()final booleanIndicates whether some other object is "equal to" this one.flow()final inthashCode()Returns a hash code value for this object.id()final StringtoString()Returns a string representation of this record class.
-
Field Details
-
id
The field for theidrecord component. -
flow
The field for theflowrecord component. -
codec
The field for thecodecrecord component. -
bundlerInfo
The field for thebundlerInforecord component.
-
-
Constructor Details
-
class_9149
class_9149(NetworkState networkState, NetworkSide networkSide, PacketCodec<ByteBuf, Packet<? super L>> packetCodec, @Nullable @Nullable PacketBundleHandler packetBundleHandler)
-
-
Method Details
-
bundlerInfo
- Specified by:
bundlerInfoin interfaceclass_9127<L extends PacketListener>- Mappings:
Namespace Name Mixin selector official dLuy;d()Lxw;intermediary comp_2237Lnet/minecraft/class_9127;comp_2237()Lnet/minecraft/class_8039;named bundlerInfoLnet/minecraft/class_9127;bundlerInfo()Lnet/minecraft/network/handler/PacketBundleHandler;
-
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). -
id
- Specified by:
idin interfaceclass_9127<L extends PacketListener>- Mappings:
Namespace Name Mixin selector official aLuy;a()Lup;intermediary comp_2234Lnet/minecraft/class_9127;comp_2234()Lnet/minecraft/class_2539;named idLnet/minecraft/class_9127;id()Lnet/minecraft/network/NetworkState;
-
flow
- Specified by:
flowin interfaceclass_9127<L extends PacketListener>- Mappings:
Namespace Name Mixin selector official bLuy;b()Lxy;intermediary comp_2235Lnet/minecraft/class_9127;comp_2235()Lnet/minecraft/class_2598;named flowLnet/minecraft/class_9127;flow()Lnet/minecraft/network/NetworkSide;
-
codec
- Specified by:
codecin interfaceclass_9127<L extends PacketListener>- Mappings:
Namespace Name Mixin selector official cLuy;c()Lxo;intermediary comp_2236Lnet/minecraft/class_9127;comp_2236()Lnet/minecraft/class_9139;named codecLnet/minecraft/class_9127;codec()Lnet/minecraft/network/codec/PacketCodec;
-