Class RegistryByteBuf

All Implemented Interfaces:
ByteBufConvertible, ReferenceCounted, Comparable<ByteBuf>

public class RegistryByteBuf extends PacketByteBuf
A packet byte buffer bound to a particular DynamicRegistryManager instance.

This is used during the NetworkPhase.PLAY phase only.

Mappings:
Namespace Name
named net/minecraft/network/RegistryByteBuf
intermediary net/minecraft/class_9129
official wf
  • Field Details

    • registryManager

      private final DynamicRegistryManager registryManager
      Mappings:
      Namespace Name Mixin selector
      named registryManager Lnet/minecraft/network/RegistryByteBuf;registryManager:Lnet/minecraft/registry/DynamicRegistryManager;
      intermediary field_48538 Lnet/minecraft/class_9129;field_48538:Lnet/minecraft/class_5455;
      official d Lwf;d:Ljx;
  • Constructor Details

    • RegistryByteBuf

      public RegistryByteBuf(ByteBuf buf, DynamicRegistryManager registryManager)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/RegistryByteBuf;<init>(Lio/netty/buffer/ByteBuf;Lnet/minecraft/registry/DynamicRegistryManager;)V
      intermediary <init> Lnet/minecraft/class_9129;<init>(Lio/netty/buffer/ByteBuf;Lnet/minecraft/class_5455;)V
      official <init> Lwf;<init>(Lio/netty/buffer/ByteBuf;Ljx;)V
  • Method Details

    • getRegistryManager

      public DynamicRegistryManager getRegistryManager()
      Mappings:
      Namespace Name Mixin selector
      named getRegistryManager Lnet/minecraft/network/RegistryByteBuf;getRegistryManager()Lnet/minecraft/registry/DynamicRegistryManager;
      intermediary method_56349 Lnet/minecraft/class_9129;method_56349()Lnet/minecraft/class_5455;
      official G Lwf;G()Ljx;
    • makeFactory

      public static Function<ByteBuf,RegistryByteBuf> makeFactory(DynamicRegistryManager registryManager)
      Mappings:
      Namespace Name Mixin selector
      named makeFactory Lnet/minecraft/network/RegistryByteBuf;makeFactory(Lnet/minecraft/registry/DynamicRegistryManager;)Ljava/util/function/Function;
      intermediary method_56350 Lnet/minecraft/class_9129;method_56350(Lnet/minecraft/class_5455;)Ljava/util/function/Function;
      official a Lwf;a(Ljx;)Ljava/util/function/Function;