Package net.minecraft.network
Class RegistryByteBuf
java.lang.Object
io.netty.buffer.ByteBuf
net.minecraft.network.PacketByteBuf
net.minecraft.network.RegistryByteBuf
- All Implemented Interfaces:
ByteBufConvertible
,ReferenceCounted
,Comparable<ByteBuf>
A packet byte buffer bound to a particular
DynamicRegistryManager
instance.
This is used during the NetworkPhase.PLAY
phase only.
- Mappings:
Namespace Name official wf
intermediary net/minecraft/class_9129
named net/minecraft/network/RegistryByteBuf
-
Field Summary
FieldsFields inherited from class net.minecraft.network.PacketByteBuf
DEFAULT_MAX_STRING_LENGTH, MAX_READ_NBT_SIZE, MAX_TEXT_LENGTH
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Function
<ByteBuf, RegistryByteBuf> makeFactory
(DynamicRegistryManager registryManager) Methods inherited from class net.minecraft.network.PacketByteBuf
alloc, array, arrayOffset, asReadOnly, bytesBefore, bytesBefore, bytesBefore, capacity, capacity, clear, compareTo, copy, copy, decode, decode, decode, decodeAsJson, discardReadBytes, discardSomeReadBytes, duplicate, encode, encode, encodeAsJson, ensureWritable, ensureWritable, equals, forEachByte, forEachByte, forEachByteDesc, forEachByteDesc, forEachInCollection, getBoolean, getByte, getBytes, getBytes, getBytes, getBytes, getBytes, getBytes, getBytes, getBytes, getBytes, getChar, getCharSequence, getDouble, getFloat, getInt, getIntLE, getLong, getLongLE, getMaxValidator, getMedium, getMediumLE, getShort, getShortLE, getUnsignedByte, getUnsignedInt, getUnsignedIntLE, getUnsignedMedium, getUnsignedMediumLE, getUnsignedShort, getUnsignedShortLE, hasArray, hashCode, hasMemoryAddress, indexOf, internalNioBuffer, isContiguous, isDirect, isReadable, isReadable, isReadOnly, isWritable, isWritable, markReaderIndex, markWriterIndex, maxCapacity, maxFastWritableBytes, maxWritableBytes, memoryAddress, nioBuffer, nioBuffer, nioBufferCount, nioBuffers, nioBuffers, order, order, readableBytes, readBitSet, readBitSet, readBlockHitResult, readBlockPos, readBlockPos, readBoolean, readByte, readByteArray, readByteArray, readByteArray, readByteArray, readBytes, readBytes, readBytes, readBytes, readBytes, readBytes, readBytes, readBytes, readBytes, readBytes, readChar, readCharSequence, readChunkPos, readChunkSectionPos, readCollection, readDate, readDouble, readEnumConstant, readEnumSet, readerIndex, readerIndex, readFloat, readGlobalPos, readIdentifier, readInstant, readInt, readIntArray, readIntArray, readIntLE, readIntList, readList, readLong, readLongArray, readLongArray, readLongArray, readLongLE, readMap, readMap, readMedium, readMediumLE, readNbt, readNbt, readNbt, readNbt, readNullable, readNullable, readOptional, readPublicKey, readQuaternionf, readQuaternionf, readRegistryKey, readRegistryRefKey, readRetainedSlice, readShort, readShortLE, readSlice, readString, readString, readUnsignedByte, readUnsignedInt, readUnsignedIntLE, readUnsignedMedium, readUnsignedMediumLE, readUnsignedShort, readUnsignedShortLE, readUuid, readUuid, readVarInt, readVarLong, readVec3d, readVector3f, readVector3f, refCnt, release, release, resetReaderIndex, resetWriterIndex, retain, retain, retainedDuplicate, retainedSlice, retainedSlice, setBoolean, setByte, setBytes, setBytes, setBytes, setBytes, setBytes, setBytes, setBytes, setBytes, setBytes, setChar, setCharSequence, setDouble, setFloat, setIndex, setInt, setIntLE, setLong, setLongLE, setMedium, setMediumLE, setShort, setShortLE, setZero, skipBytes, slice, slice, toString, toString, toString, touch, touch, unwrap, writableBytes, writeBitSet, writeBitSet, writeBlockHitResult, writeBlockPos, writeBlockPos, writeBoolean, writeByte, writeByteArray, writeByteArray, writeBytes, writeBytes, writeBytes, writeBytes, writeBytes, writeBytes, writeBytes, writeBytes, writeBytes, writeChar, writeCharSequence, writeChunkPos, writeChunkSectionPos, writeCollection, writeDate, writeDouble, writeEnumConstant, writeEnumSet, writeFloat, writeGlobalPos, writeIdentifier, writeInstant, writeInt, writeIntArray, writeIntLE, writeIntList, writeLong, writeLongArray, writeLongLE, writeMap, writeMedium, writeMediumLE, writeNbt, writeNbt, writeNullable, writeNullable, writeOptional, writePublicKey, writeQuaternionf, writeQuaternionf, writeRegistryKey, writerIndex, writerIndex, writeShort, writeShortLE, writeString, writeString, writeUuid, writeUuid, writeVarInt, writeVarLong, writeVec3d, writeVector3f, writeVector3f, writeZero
Methods inherited from class io.netty.buffer.ByteBuf
asByteBuf, getDoubleLE, getFloatLE, readDoubleLE, readFloatLE, setDoubleLE, setFloatLE, writeDoubleLE, writeFloatLE
-
Field Details
-
registryManager
- Mappings:
Namespace Name Mixin selector official d
Lwf;d:Ljk;
intermediary field_48538
Lnet/minecraft/class_9129;field_48538:Lnet/minecraft/class_5455;
named registryManager
Lnet/minecraft/network/RegistryByteBuf;registryManager:Lnet/minecraft/registry/DynamicRegistryManager;
-
-
Constructor Details
-
RegistryByteBuf
- Mappings:
Namespace Name Mixin selector official <init>
Lwf;<init>(Lio/netty/buffer/ByteBuf;Ljk;)V
intermediary <init>
Lnet/minecraft/class_9129;<init>(Lio/netty/buffer/ByteBuf;Lnet/minecraft/class_5455;)V
named <init>
Lnet/minecraft/network/RegistryByteBuf;<init>(Lio/netty/buffer/ByteBuf;Lnet/minecraft/registry/DynamicRegistryManager;)V
-
-
Method Details
-
getRegistryManager
- Mappings:
Namespace Name Mixin selector official G
Lwf;G()Ljk;
intermediary method_56349
Lnet/minecraft/class_9129;method_56349()Lnet/minecraft/class_5455;
named getRegistryManager
Lnet/minecraft/network/RegistryByteBuf;getRegistryManager()Lnet/minecraft/registry/DynamicRegistryManager;
-
makeFactory
- Mappings:
Namespace Name Mixin selector official a
Lwf;a(Ljk;)Ljava/util/function/Function;
intermediary method_56350
Lnet/minecraft/class_9129;method_56350(Lnet/minecraft/class_5455;)Ljava/util/function/Function;
named makeFactory
Lnet/minecraft/network/RegistryByteBuf;makeFactory(Lnet/minecraft/registry/DynamicRegistryManager;)Ljava/util/function/Function;
-