类 RegistryFriendlyByteBuf
java.lang.Object
io.netty.buffer.ByteBuf
net.minecraft.network.FriendlyByteBuf
net.minecraft.network.RegistryFriendlyByteBuf
- 所有已实现的接口:
io.netty.buffer.ByteBufConvertible
,io.netty.util.ReferenceCounted
,Comparable<io.netty.buffer.ByteBuf>
,IFriendlyByteBufExtension
-
字段概要
字段从类继承的字段 net.minecraft.network.FriendlyByteBuf
DEFAULT_NBT_QUOTA, MAX_COMPONENT_STRING_LENGTH, MAX_STRING_LENGTH
-
构造器概要
构造器构造器说明RegistryFriendlyByteBuf
(io.netty.buffer.ByteBuf p_320951_, RegistryAccess p_319803_) 已过时。Neo: use overload with ConnectionType contextRegistryFriendlyByteBuf
(io.netty.buffer.ByteBuf p_320951_, RegistryAccess p_319803_, ConnectionType connectionType) -
方法概要
修饰符和类型方法说明static Function
<io.netty.buffer.ByteBuf, RegistryFriendlyByteBuf> decorator
(RegistryAccess p_320166_) 已过时。Neo: use overload with ConnectionType contextstatic Function
<io.netty.buffer.ByteBuf, RegistryFriendlyByteBuf> decorator
(RegistryAccess p_320166_, ConnectionType connectionType) 从类继承的方法 net.minecraft.network.FriendlyByteBuf
alloc, array, arrayOffset, asReadOnly, bytesBefore, bytesBefore, bytesBefore, capacity, capacity, clear, compareTo, copy, copy, discardReadBytes, discardSomeReadBytes, duplicate, ensureWritable, ensureWritable, equals, forEachByte, forEachByte, forEachByteDesc, forEachByteDesc, getBoolean, getByte, getBytes, getBytes, getBytes, getBytes, getBytes, getBytes, getBytes, getBytes, getBytes, getChar, getCharSequence, getDouble, getFloat, getInt, getIntLE, getLong, getLongLE, getMedium, getMediumLE, getShort, getShortLE, getSource, getUnsignedByte, getUnsignedInt, getUnsignedIntLE, getUnsignedMedium, getUnsignedMediumLE, getUnsignedShort, getUnsignedShortLE, hasArray, hashCode, hasMemoryAddress, indexOf, internalNioBuffer, isContiguous, isDirect, isReadable, isReadable, isReadOnly, isWritable, isWritable, limitValue, markReaderIndex, markWriterIndex, maxCapacity, maxFastWritableBytes, maxWritableBytes, memoryAddress, nioBuffer, nioBuffer, nioBufferCount, nioBuffers, nioBuffers, order, order, readableBytes, readBitSet, readBlockHitResult, readBlockPos, readBlockPos, readBoolean, readById, readByte, readByteArray, readByteArray, readByteArray, readByteArray, readBytes, readBytes, readBytes, readBytes, readBytes, readBytes, readBytes, readBytes, readBytes, readBytes, readChar, readCharSequence, readChunkPos, readChunkPos, readCollection, readContainerId, readContainerId, readDate, readDouble, readEither, readEnum, readEnumSet, readerIndex, readerIndex, readFixedBitSet, readFixedSizeLongArray, readFixedSizeLongArray, readFloat, readGlobalPos, readInstant, readInt, readIntIdList, readIntLE, readLenientJsonWithCodec, readList, readLong, readLongArray, readLongArray, readLongLE, readMap, readMap, readMedium, readMediumLE, readNbt, readNbt, readNbt, readNbt, readNullable, readNullable, readOptional, readPublicKey, readQuaternion, readQuaternion, readRegistryKey, readResourceKey, readResourceLocation, readRetainedSlice, readSectionPos, readShort, readShortLE, readSlice, readUnsignedByte, readUnsignedInt, readUnsignedIntLE, readUnsignedMedium, readUnsignedMediumLE, readUnsignedShort, readUnsignedShortLE, readUtf, readUtf, readUUID, readUUID, readVarInt, readVarIntArray, readVarIntArray, readVarLong, readVec3, readVec3, readVector3f, readVector3f, readWithCodec, readWithCodecTrusted, readWithCount, 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, writeBlockHitResult, writeBlockPos, writeBlockPos, writeBoolean, writeById, writeByte, writeByteArray, writeByteArray, writeBytes, writeBytes, writeBytes, writeBytes, writeBytes, writeBytes, writeBytes, writeBytes, writeBytes, writeChar, writeCharSequence, writeChunkPos, writeChunkPos, writeCollection, writeContainerId, writeContainerId, writeDate, writeDouble, writeEither, writeEnum, writeEnumSet, writeFixedBitSet, writeFixedSizeLongArray, writeFixedSizeLongArray, writeFloat, writeGlobalPos, writeInstant, writeInt, writeIntIdList, writeIntLE, writeJsonWithCodec, writeLong, writeLongArray, writeLongArray, writeLongLE, writeMap, writeMedium, writeMediumLE, writeNbt, writeNbt, writeNullable, writeNullable, writeOptional, writePublicKey, writeQuaternion, writeQuaternion, writeResourceKey, writeResourceLocation, writerIndex, writerIndex, writeSectionPos, writeShort, writeShortLE, writeUtf, writeUtf, writeUUID, writeUUID, writeVarInt, writeVarIntArray, writeVarLong, writeVec3, writeVec3, writeVector3f, writeVector3f, writeWithCodec, writeZero
从类继承的方法 io.netty.buffer.ByteBuf
asByteBuf, getDoubleLE, getFloatLE, readDoubleLE, readFloatLE, setDoubleLE, setFloatLE, writeDoubleLE, writeFloatLE
从接口继承的方法 net.neoforged.neoforge.common.extensions.IFriendlyByteBufExtension
readArray, readMap, writeArray, writeByte, writeMap, writeObjectCollection
-
字段详细资料
-
registryAccess
-
connectionType
-
-
构造器详细资料
-
RegistryFriendlyByteBuf
@Deprecated public RegistryFriendlyByteBuf(io.netty.buffer.ByteBuf p_320951_, RegistryAccess p_319803_) 已过时。Neo: use overload with ConnectionType context -
RegistryFriendlyByteBuf
public RegistryFriendlyByteBuf(io.netty.buffer.ByteBuf p_320951_, RegistryAccess p_319803_, ConnectionType connectionType)
-
-
方法详细资料
-
getConnectionType
-
registryAccess
-
decorator
public static Function<io.netty.buffer.ByteBuf,RegistryFriendlyByteBuf> decorator(RegistryAccess p_320166_, ConnectionType connectionType) -
decorator
@Deprecated public static Function<io.netty.buffer.ByteBuf,RegistryFriendlyByteBuf> decorator(RegistryAccess p_320166_) 已过时。Neo: use overload with ConnectionType context
-