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$b
intermediary net/minecraft/class_9147$class_9149
named net/minecraft/class_9147$class_9149
official a
intermediary comp_2234
named id
official b
intermediary comp_2235
named flow
official c
intermediary comp_2236
named codec
official d
intermediary comp_2237
named bundlerInfo
  • Field Details

  • Constructor Details

  • Method Details

    • bundlerInfo

      @Nullable public @Nullable PacketBundleHandler bundlerInfo()
      Specified by:
      bundlerInfo in interface class_9127<L extends PacketListener>
      Mappings:
      Namespace Name Mixin selector
      official d Luy;d()Lxw;
      intermediary comp_2237 Lnet/minecraft/class_9127;comp_2237()Lnet/minecraft/class_8039;
      named bundlerInfo Lnet/minecraft/class_9127;bundlerInfo()Lnet/minecraft/network/handler/PacketBundleHandler;
    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • id

      public NetworkState id()
      Specified by:
      id in interface class_9127<L extends PacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Luy;a()Lup;
      intermediary comp_2234 Lnet/minecraft/class_9127;comp_2234()Lnet/minecraft/class_2539;
      named id Lnet/minecraft/class_9127;id()Lnet/minecraft/network/NetworkState;
    • flow

      public NetworkSide flow()
      Specified by:
      flow in interface class_9127<L extends PacketListener>
      Mappings:
      Namespace Name Mixin selector
      official b Luy;b()Lxy;
      intermediary comp_2235 Lnet/minecraft/class_9127;comp_2235()Lnet/minecraft/class_2598;
      named flow Lnet/minecraft/class_9127;flow()Lnet/minecraft/network/NetworkSide;
    • codec

      public PacketCodec<ByteBuf,Packet<? super L>> codec()
      Specified by:
      codec in interface class_9127<L extends PacketListener>
      Mappings:
      Namespace Name Mixin selector
      official c Luy;c()Lxo;
      intermediary comp_2236 Lnet/minecraft/class_9127;comp_2236()Lnet/minecraft/class_9139;
      named codec Lnet/minecraft/class_9127;codec()Lnet/minecraft/network/codec/PacketCodec;