Class StringEncoding

java.lang.Object
net.minecraft.network.encoding.StringEncoding

public class StringEncoding extends Object
Mappings:
Namespace Name
named net/minecraft/network/encoding/StringEncoding
intermediary net/minecraft/class_8702
official xf
  • Constructor Details

    • StringEncoding

      public StringEncoding()
  • Method Details

    • decode

      public static String decode(ByteBuf buf, int maxLength)
      Mappings:
      Namespace Name Mixin selector
      named decode Lnet/minecraft/network/encoding/StringEncoding;decode(Lio/netty/buffer/ByteBuf;I)Ljava/lang/String;
      intermediary method_53012 Lnet/minecraft/class_8702;method_53012(Lio/netty/buffer/ByteBuf;I)Ljava/lang/String;
      official a Lxf;a(Lio/netty/buffer/ByteBuf;I)Ljava/lang/String;
    • encode

      public static void encode(ByteBuf buf, CharSequence string, int maxLength)
      Mappings:
      Namespace Name Mixin selector
      named encode Lnet/minecraft/network/encoding/StringEncoding;encode(Lio/netty/buffer/ByteBuf;Ljava/lang/CharSequence;I)V
      intermediary method_53013 Lnet/minecraft/class_8702;method_53013(Lio/netty/buffer/ByteBuf;Ljava/lang/CharSequence;I)V
      official a Lxf;a(Lio/netty/buffer/ByteBuf;Ljava/lang/CharSequence;I)V