类 PacketByteBuf

    • 字段详细资料

      • MAX_VAR_INT_LENGTH

        private static final int MAX_VAR_INT_LENGTH
        The max number of bytes an encoded var int value may use.

        Its value is 5. A regular int value always use 4 bytes in contrast.

        另请参阅:
        getVarIntLength(int), 常量字段值
        Mappings:
        Namespace Name Mixin selector
        official c Lob;c:I
        intermediary field_33285 Lnet/minecraft/class_2540;field_33285:I
        named MAX_VAR_INT_LENGTH Lnet/minecraft/network/PacketByteBuf;MAX_VAR_INT_LENGTH:I
      • MAX_VAR_LONG_LENGTH

        private static final int MAX_VAR_LONG_LENGTH
        The max number of bytes an encoded var long value may use.

        Its value is 10. A regular long value always use 8 bytes in contrast.

        另请参阅:
        getVarLongLength(long), 常量字段值
        Mappings:
        Namespace Name Mixin selector
        official d Lob;d:I
        intermediary field_33286 Lnet/minecraft/class_2540;field_33286:I
        named MAX_VAR_LONG_LENGTH Lnet/minecraft/network/PacketByteBuf;MAX_VAR_LONG_LENGTH:I
      • MAX_READ_NBT_SIZE

        private static final int MAX_READ_NBT_SIZE
        The maximum size, in number of bytes, allowed of the NBT compound read by readNbt().
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official e Lob;e:I
        intermediary field_33287 Lnet/minecraft/class_2540;field_33287:I
        named MAX_READ_NBT_SIZE Lnet/minecraft/network/PacketByteBuf;MAX_READ_NBT_SIZE:I
      • DEFAULT_MAX_STRING_LENGTH

        public static final short DEFAULT_MAX_STRING_LENGTH
        The default max length of strings read or written. This is also the max length of identifiers read or written in their string form.
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official a Lob;a:S
        intermediary field_33283 Lnet/minecraft/class_2540;field_33283:S
        named DEFAULT_MAX_STRING_LENGTH Lnet/minecraft/network/PacketByteBuf;DEFAULT_MAX_STRING_LENGTH:S
      • MAX_TEXT_LENGTH

        public static final int MAX_TEXT_LENGTH
        The maximum size, in terms of JSON string length, allowed of the text read by readText() or written by writeText(Text).
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official b Lob;b:I
        intermediary field_33284 Lnet/minecraft/class_2540;field_33284:I
        named MAX_TEXT_LENGTH Lnet/minecraft/network/PacketByteBuf;MAX_TEXT_LENGTH:I
      • parent

        private final ByteBuf parent
        Mappings:
        Namespace Name Mixin selector
        official f Lob;f:Lio/netty/buffer/ByteBuf;
        intermediary field_11695 Lnet/minecraft/class_2540;field_11695:Lio/netty/buffer/ByteBuf;
        named parent Lnet/minecraft/network/PacketByteBuf;parent:Lio/netty/buffer/ByteBuf;
    • 构造器详细资料

      • PacketByteBuf

        public PacketByteBuf​(ByteBuf parent)
        Creates a packet byte buf that delegates its operations to the parent buf.
        参数:
        parent - the parent, or delegate, buf
        Mappings:
        Namespace Name Mixin selector
        official <init> Lob;<init>(Lio/netty/buffer/ByteBuf;)V
        intermediary <init> Lnet/minecraft/class_2540;<init>(Lio/netty/buffer/ByteBuf;)V
        named <init> Lnet/minecraft/network/PacketByteBuf;<init>(Lio/netty/buffer/ByteBuf;)V
    • 方法详细资料

      • getVarIntLength

        public static int getVarIntLength​(int value)
        Returns the number of bytes needed to encode value as a var int. Guaranteed to be between 1 and 5.
        参数:
        value - the value to encode
        返回:
        the number of bytes a var int value uses
        Mappings:
        Namespace Name Mixin selector
        official a Lob;a(I)I
        intermediary method_10815 Lnet/minecraft/class_2540;method_10815(I)I
        named getVarIntLength Lnet/minecraft/network/PacketByteBuf;getVarIntLength(I)I
      • getVarLongLength

        public static int getVarLongLength​(long value)
        Returns the number of bytes needed to encode value as a var long. Guaranteed to be between 1 and 10.
        参数:
        value - the value to encode
        返回:
        the number of bytes a var long value uses
        Mappings:
        Namespace Name Mixin selector
        official a Lob;a(J)I
        intermediary method_36129 Lnet/minecraft/class_2540;method_36129(J)I
        named getVarLongLength Lnet/minecraft/network/PacketByteBuf;getVarLongLength(J)I
      • decode

        public <T> T decode​(com.mojang.serialization.Codec<T> codec)
        Reads an object from this buf as a compound NBT with the given codec.
        类型参数:
        T - the decoded object's type
        参数:
        codec - the codec to decode the object
        返回:
        the read object
        抛出:
        EncoderException - if the codec fails to decode the compound NBT
        另请参阅:
        encode(Codec, Object)
        Mappings:
        Namespace Name Mixin selector
        official a Lob;a(Lcom/mojang/serialization/Codec;)Ljava/lang/Object;
        intermediary method_29171 Lnet/minecraft/class_2540;method_29171(Lcom/mojang/serialization/Codec;)Ljava/lang/Object;
        named decode Lnet/minecraft/network/PacketByteBuf;decode(Lcom/mojang/serialization/Codec;)Ljava/lang/Object;
      • encode

        public <T> void encode​(com.mojang.serialization.Codec<T> codec,
                               T object)
        Writes an object to this buf as a compound NBT with the given codec.
        类型参数:
        T - the encoded object's type
        参数:
        codec - the codec to encode the object
        object - the object to write to this buf
        抛出:
        EncoderException - if the codec fails to encode the compound NBT
        另请参阅:
        decode(Codec)
        Mappings:
        Namespace Name Mixin selector
        official a Lob;a(Lcom/mojang/serialization/Codec;Ljava/lang/Object;)V
        intermediary method_29172 Lnet/minecraft/class_2540;method_29172(Lcom/mojang/serialization/Codec;Ljava/lang/Object;)V
        named encode Lnet/minecraft/network/PacketByteBuf;encode(Lcom/mojang/serialization/Codec;Ljava/lang/Object;)V
      • readCollection

        public <T,​C extends Collection<T>> C readCollection​(IntFunction<C> collectionFactory,
                                                                  Function<PacketByteBuf,​T> entryParser)
        Reads a collection from this buf. The collection is stored as a leading var int size followed by the entries sequentially.
        类型参数:
        T - the collection's entry type
        C - the collection's type
        参数:
        collectionFactory - a factory that creates a collection with a given size
        entryParser - a parser that parses each entry for the collection given this buf
        返回:
        the read collection
        另请参阅:
        writeCollection(Collection, BiConsumer), readList(Function)
        Mappings:
        Namespace Name Mixin selector
        official a Lob;a(Ljava/util/function/IntFunction;Ljava/util/function/Function;)Ljava/util/Collection;
        intermediary method_34068 Lnet/minecraft/class_2540;method_34068(Ljava/util/function/IntFunction;Ljava/util/function/Function;)Ljava/util/Collection;
        named readCollection Lnet/minecraft/network/PacketByteBuf;readCollection(Ljava/util/function/IntFunction;Ljava/util/function/Function;)Ljava/util/Collection;
      • writeCollection

        public <T> void writeCollection​(Collection<T> collection,
                                        BiConsumer<PacketByteBuf,​T> entrySerializer)
        Writes a collection to this buf. The collection is stored as a leading var int size followed by the entries sequentially.
        类型参数:
        T - the list's entry type
        参数:
        collection - the collection to write
        entrySerializer - a serializer that writes each entry to this buf
        另请参阅:
        readCollection(IntFunction, Function)
        Mappings:
        Namespace Name Mixin selector
        official a Lob;a(Ljava/util/Collection;Ljava/util/function/BiConsumer;)V
        intermediary method_34062 Lnet/minecraft/class_2540;method_34062(Ljava/util/Collection;Ljava/util/function/BiConsumer;)V
        named writeCollection Lnet/minecraft/network/PacketByteBuf;writeCollection(Ljava/util/Collection;Ljava/util/function/BiConsumer;)V
      • readList

        public <T> List<T> readList​(Function<PacketByteBuf,​T> entryParser)
        Reads a collection from this buf as an array list.
        类型参数:
        T - the list's entry type
        参数:
        entryParser - a parser that parses each entry for the collection given this buf
        返回:
        the read list
        另请参阅:
        readCollection(IntFunction, Function)
        Mappings:
        Namespace Name Mixin selector
        official a Lob;a(Ljava/util/function/Function;)Ljava/util/List;
        intermediary method_34066 Lnet/minecraft/class_2540;method_34066(Ljava/util/function/Function;)Ljava/util/List;
        named readList Lnet/minecraft/network/PacketByteBuf;readList(Ljava/util/function/Function;)Ljava/util/List;
      • readIntList

        public IntList readIntList()
        Reads a list of primitive ints from this buf. The ints are stored as var ints, with an extra var int in the beginning indicating the size.
        返回:
        the read list
        另请参阅:
        writeIntList(IntList), readIntArray()
        API Note:
        To limit the length of the list or array read, use readIntArray(int).
        Implementation Note:
        A list of ints has the same format as an int array.
        Mappings:
        Namespace Name Mixin selector
        official a Lob;a()Lit/unimi/dsi/fastutil/ints/IntList;
        intermediary method_34059 Lnet/minecraft/class_2540;method_34059()Lit/unimi/dsi/fastutil/ints/IntList;
        named readIntList Lnet/minecraft/network/PacketByteBuf;readIntList()Lit/unimi/dsi/fastutil/ints/IntList;
      • writeIntList

        public void writeIntList​(IntList list)
        Writes a list of primitive ints from this buf. The ints are stored as var ints, with an extra var int in the beginning indicating the size.
        参数:
        list - the list to write
        另请参阅:
        readIntList(), writeIntArray(int[])
        Implementation Note:
        A list of ints has the same format as an int array.
        Mappings:
        Namespace Name Mixin selector
        official a Lob;a(Lit/unimi/dsi/fastutil/ints/IntList;)V
        intermediary method_34060 Lnet/minecraft/class_2540;method_34060(Lit/unimi/dsi/fastutil/ints/IntList;)V
        named writeIntList Lnet/minecraft/network/PacketByteBuf;writeIntList(Lit/unimi/dsi/fastutil/ints/IntList;)V
      • readMap

        public <K,​V,​M extends Map<K,​V>> M readMap​(IntFunction<M> mapFactory,
                                                                    Function<PacketByteBuf,​K> keyParser,
                                                                    Function<PacketByteBuf,​V> valueParser)
        Reads a map from this buf. The map is stored as a leading var int size followed by each key and value pair.
        类型参数:
        K - the key type
        V - the value type
        M - the map type
        参数:
        mapFactory - a factory that creates a map with a given size
        keyParser - a parser that parses each key for the map given this buf
        valueParser - a parser that parses each value for the map given this buf
        返回:
        the read map
        另请参阅:
        writeMap(Map, BiConsumer, BiConsumer), readMap(Function, Function)
        Mappings:
        Namespace Name Mixin selector
        official a Lob;a(Ljava/util/function/IntFunction;Ljava/util/function/Function;Ljava/util/function/Function;)Ljava/util/Map;
        intermediary method_34069 Lnet/minecraft/class_2540;method_34069(Ljava/util/function/IntFunction;Ljava/util/function/Function;Ljava/util/function/Function;)Ljava/util/Map;
        named readMap Lnet/minecraft/network/PacketByteBuf;readMap(Ljava/util/function/IntFunction;Ljava/util/function/Function;Ljava/util/function/Function;)Ljava/util/Map;
      • readMap

        public <K,​V> Map<K,​V> readMap​(Function<PacketByteBuf,​K> keyParser,
                                                  Function<PacketByteBuf,​V> valueParser)
        Reads a map from this buf as a hash map.
        类型参数:
        K - the key type
        V - the value type
        参数:
        keyParser - a parser that parses each key for the map given this buf
        valueParser - a parser that parses each value for the map given this buf
        返回:
        the read map
        另请参阅:
        readMap(IntFunction, Function, Function)
        Mappings:
        Namespace Name Mixin selector
        official a Lob;a(Ljava/util/function/Function;Ljava/util/function/Function;)Ljava/util/Map;
        intermediary method_34067 Lnet/minecraft/class_2540;method_34067(Ljava/util/function/Function;Ljava/util/function/Function;)Ljava/util/Map;
        named readMap Lnet/minecraft/network/PacketByteBuf;readMap(Ljava/util/function/Function;Ljava/util/function/Function;)Ljava/util/Map;
      • writeMap

        public <K,​V> void writeMap​(Map<K,​V> map,
                                         BiConsumer<PacketByteBuf,​K> keySerializer,
                                         BiConsumer<PacketByteBuf,​V> valueSerializer)
        Writes a map to this buf. The map is stored as a leading var int size followed by each key and value pair.
        类型参数:
        K - the key type
        V - the value type
        参数:
        map - the map to write
        keySerializer - a serializer that writes each key in the map to this buf
        valueSerializer - a serializer that writes each value in the map to this buf
        另请参阅:
        readMap(IntFunction, Function, Function)
        Mappings:
        Namespace Name Mixin selector
        official a Lob;a(Ljava/util/Map;Ljava/util/function/BiConsumer;Ljava/util/function/BiConsumer;)V
        intermediary method_34063 Lnet/minecraft/class_2540;method_34063(Ljava/util/Map;Ljava/util/function/BiConsumer;Ljava/util/function/BiConsumer;)V
        named writeMap Lnet/minecraft/network/PacketByteBuf;writeMap(Ljava/util/Map;Ljava/util/function/BiConsumer;Ljava/util/function/BiConsumer;)V
      • forEachInCollection

        public void forEachInCollection​(Consumer<PacketByteBuf> consumer)
        Iterates a collection from this buf. The collection is stored as a leading var int size followed by the entries sequentially. The consumer will be called size times.
        参数:
        consumer - the consumer to read entries
        另请参阅:
        readCollection(IntFunction, Function)
        Mappings:
        Namespace Name Mixin selector
        official a Lob;a(Ljava/util/function/Consumer;)V
        intermediary method_34065 Lnet/minecraft/class_2540;method_34065(Ljava/util/function/Consumer;)V
        named forEachInCollection Lnet/minecraft/network/PacketByteBuf;forEachInCollection(Ljava/util/function/Consumer;)V
      • readByteArray

        public byte[] readByteArray()
        Reads an array of primitive bytes from this buf. The array first has a var int indicating its length, followed by the actual bytes. The array does not have a length limit.
        返回:
        the read byte array
        另请参阅:
        readByteArray(int), writeByteArray(byte[])
        Mappings:
        Namespace Name Mixin selector
        official b Lob;b()[B
        intermediary method_10795 Lnet/minecraft/class_2540;method_10795()[B
        named readByteArray Lnet/minecraft/network/PacketByteBuf;readByteArray()[B
      • writeByteArray

        public PacketByteBuf writeByteArray​(byte[] array)
        Writes an array of primitive bytes to this buf. The array first has a var int indicating its length, followed by the actual bytes.
        参数:
        array - the array to write
        返回:
        this buf, for chaining
        另请参阅:
        readByteArray()
        Mappings:
        Namespace Name Mixin selector
        official a Lob;a([B)Lob;
        intermediary method_10813 Lnet/minecraft/class_2540;method_10813([B)Lnet/minecraft/class_2540;
        named writeByteArray Lnet/minecraft/network/PacketByteBuf;writeByteArray([B)Lnet/minecraft/network/PacketByteBuf;
      • readByteArray

        public byte[] readByteArray​(int maxSize)
        Reads an array of primitive bytes from this buf. The array first has a var int indicating its length, followed by the actual bytes. The array has a length limit given by maxSize.
        参数:
        maxSize - the max length of the read array
        返回:
        the read byte array
        抛出:
        DecoderException - if the read array has a length over maxSize
        另请参阅:
        readByteArray(), writeByteArray(byte[])
        Mappings:
        Namespace Name Mixin selector
        official b Lob;b(I)[B
        intermediary method_10803 Lnet/minecraft/class_2540;method_10803(I)[B
        named readByteArray Lnet/minecraft/network/PacketByteBuf;readByteArray(I)[B
      • writeIntArray

        public PacketByteBuf writeIntArray​(int[] array)
        Writes an array of primitive ints to this buf. The array first has a var int indicating its length, followed by the var int entries.
        参数:
        array - the array to write
        返回:
        this buf, for chaining
        另请参阅:
        readIntArray(int), writeIntArray(int[]), writeIntList(IntList)
        Implementation Note:
        An int array has the same format as a list of ints.
        Mappings:
        Namespace Name Mixin selector
        official a Lob;a([I)Lob;
        intermediary method_10806 Lnet/minecraft/class_2540;method_10806([I)Lnet/minecraft/class_2540;
        named writeIntArray Lnet/minecraft/network/PacketByteBuf;writeIntArray([I)Lnet/minecraft/network/PacketByteBuf;
      • readIntArray

        public int[] readIntArray()
        Reads an array of primitive ints from this buf. The array first has a var int indicating its length, followed by the var int entries. The array does not have a length limit.
        返回:
        the read byte array
        另请参阅:
        readIntArray(int), writeIntArray(int[]), readIntList()
        Implementation Note:
        An int array has the same format as a list of ints.
        Mappings:
        Namespace Name Mixin selector
        official c Lob;c()[I
        intermediary method_10787 Lnet/minecraft/class_2540;method_10787()[I
        named readIntArray Lnet/minecraft/network/PacketByteBuf;readIntArray()[I
      • readIntArray

        public int[] readIntArray​(int maxSize)
        Reads an array of primitive ints from this buf. The array first has a var int indicating its length, followed by the var int entries. The array has a length limit given by maxSize.
        参数:
        maxSize - the max length of the read array
        返回:
        the read byte array
        抛出:
        DecoderException - if the read array has a length over maxSize
        另请参阅:
        readIntArray(), writeIntArray(int[])
        Implementation Note:
        An int array has the same format as a list of ints.
        Mappings:
        Namespace Name Mixin selector
        official c Lob;c(I)[I
        intermediary method_10799 Lnet/minecraft/class_2540;method_10799(I)[I
        named readIntArray Lnet/minecraft/network/PacketByteBuf;readIntArray(I)[I
      • writeLongArray

        public PacketByteBuf writeLongArray​(long[] array)
        Writes an array of primitive longs to this buf. The array first has a var int indicating its length, followed by the regular long (not var long) values.
        参数:
        array - the array to write
        返回:
        this buf, for chaining
        另请参阅:
        readLongArray()
        Mappings:
        Namespace Name Mixin selector
        official a Lob;a([J)Lob;
        intermediary method_10789 Lnet/minecraft/class_2540;method_10789([J)Lnet/minecraft/class_2540;
        named writeLongArray Lnet/minecraft/network/PacketByteBuf;writeLongArray([J)Lnet/minecraft/network/PacketByteBuf;
      • readLongArray

        public long[] readLongArray()
        Reads an array of primitive longs from this buf. The array first has a var int indicating its length, followed by the regular long (not var long) values. The array does not have a length limit.
        返回:
        the read long array
        另请参阅:
        writeLongArray(long[]), readLongArray(long[]), readLongArray(long[], int)
        Mappings:
        Namespace Name Mixin selector
        official d Lob;d()[J
        intermediary method_33134 Lnet/minecraft/class_2540;method_33134()[J
        named readLongArray Lnet/minecraft/network/PacketByteBuf;readLongArray()[J
      • readLongArray

        public long[] readLongArray​(@Nullable
                                    @org.jetbrains.annotations.Nullable long[] toArray)
        Reads an array of primitive longs from this buf. The array first has a var int indicating its length, followed by the regular long (not var long) values. The array does not have a length limit.

        Only when toArray is not null and toArray.length equals to the length var int read will the toArray be reused and returned; otherwise, a new array of proper size is created.

        参数:
        toArray - the array to reuse
        返回:
        the read long array
        另请参阅:
        writeLongArray(long[]), readLongArray(), readLongArray(long[], int)
        Mappings:
        Namespace Name Mixin selector
        official b Lob;b([J)[J
        intermediary method_10801 Lnet/minecraft/class_2540;method_10801([J)[J
        named readLongArray Lnet/minecraft/network/PacketByteBuf;readLongArray([J)[J
      • readLongArray

        public long[] readLongArray​(@Nullable
                                    @org.jetbrains.annotations.Nullable long[] toArray,
                                    int maxSize)
        Reads an array of primitive longs from this buf. The array first has a var int indicating its length, followed by the regular long (not var long) values. The array has a length limit of maxSize.

        Only when toArray is not null and toArray.length equals to the length var int read will the toArray be reused and returned; otherwise, a new array of proper size is created.

        参数:
        toArray - the array to reuse
        maxSize - the max length of the read array
        返回:
        the read long array
        抛出:
        DecoderException - if the read array has a length over maxSize
        另请参阅:
        writeLongArray(long[]), readLongArray(), readLongArray(long[])
        Mappings:
        Namespace Name Mixin selector
        official a Lob;a([JI)[J
        intermediary method_10809 Lnet/minecraft/class_2540;method_10809([JI)[J
        named readLongArray Lnet/minecraft/network/PacketByteBuf;readLongArray([JI)[J
      • getWrittenBytes

        public byte[] getWrittenBytes()
        Returns an array of bytes of contents in this buf between index 0 and the writerIndex().
        Mappings:
        Namespace Name Mixin selector
        official e Lob;e()[B
        intermediary method_36132 Lnet/minecraft/class_2540;method_36132()[B
        named getWrittenBytes Lnet/minecraft/network/PacketByteBuf;getWrittenBytes()[B
      • readBlockPos

        public BlockPos readBlockPos()
        Reads a block position from this buf. A block position is represented by a regular long.
        返回:
        the read block pos
        另请参阅:
        writeBlockPos(BlockPos)
        Mappings:
        Namespace Name Mixin selector
        official f Lob;f()Lgb;
        intermediary method_10811 Lnet/minecraft/class_2540;method_10811()Lnet/minecraft/class_2338;
        named readBlockPos Lnet/minecraft/network/PacketByteBuf;readBlockPos()Lnet/minecraft/util/math/BlockPos;
      • writeBlockPos

        public PacketByteBuf writeBlockPos​(BlockPos pos)
        Writes a block position to this buf. A block position is represented by a regular long.
        参数:
        pos - the pos to write
        返回:
        this buf, for chaining
        另请参阅:
        readBlockPos()
        Mappings:
        Namespace Name Mixin selector
        official a Lob;a(Lgb;)Lob;
        intermediary method_10807 Lnet/minecraft/class_2540;method_10807(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2540;
        named writeBlockPos Lnet/minecraft/network/PacketByteBuf;writeBlockPos(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/network/PacketByteBuf;
      • readChunkPos

        public ChunkPos readChunkPos()
        Reads a chunk position from this buf. A chunk position is represented by a regular long.
        返回:
        the read chunk position
        另请参阅:
        writeChunkPos(ChunkPos)
        Mappings:
        Namespace Name Mixin selector
        official g Lob;g()Lbuw;
        intermediary method_36133 Lnet/minecraft/class_2540;method_36133()Lnet/minecraft/class_1923;
        named readChunkPos Lnet/minecraft/network/PacketByteBuf;readChunkPos()Lnet/minecraft/util/math/ChunkPos;
      • writeChunkPos

        public PacketByteBuf writeChunkPos​(ChunkPos pos)
        Writes a chunk position to this buf. A chunk position is represented by a regular long.
        参数:
        pos - the chunk position to write
        返回:
        this buf, for chaining
        另请参阅:
        readChunkPos()
        Mappings:
        Namespace Name Mixin selector
        official a Lob;a(Lbuw;)Lob;
        intermediary method_36130 Lnet/minecraft/class_2540;method_36130(Lnet/minecraft/class_1923;)Lnet/minecraft/class_2540;
        named writeChunkPos Lnet/minecraft/network/PacketByteBuf;writeChunkPos(Lnet/minecraft/util/math/ChunkPos;)Lnet/minecraft/network/PacketByteBuf;
      • readChunkSectionPos

        public ChunkSectionPos readChunkSectionPos()
        Reads a chunk section position from this buf. A chunk section position is represented by a regular long.
        返回:
        the read chunk section pos
        另请参阅:
        writeChunkSectionPos(ChunkSectionPos)
        Mappings:
        Namespace Name Mixin selector
        official h Lob;h()Lgu;
        intermediary method_19456 Lnet/minecraft/class_2540;method_19456()Lnet/minecraft/class_4076;
        named readChunkSectionPos Lnet/minecraft/network/PacketByteBuf;readChunkSectionPos()Lnet/minecraft/util/math/ChunkSectionPos;
      • writeChunkSectionPos

        public PacketByteBuf writeChunkSectionPos​(ChunkSectionPos pos)
        Reads a chunk section position from this buf. A chunk section position is represented by a regular long.
        参数:
        pos - the section position to write
        返回:
        this buf, for chaining
        另请参阅:
        readChunkSectionPos()
        Mappings:
        Namespace Name Mixin selector
        official a Lob;a(Lgu;)Lob;
        intermediary method_36131 Lnet/minecraft/class_2540;method_36131(Lnet/minecraft/class_4076;)Lnet/minecraft/class_2540;
        named writeChunkSectionPos Lnet/minecraft/network/PacketByteBuf;writeChunkSectionPos(Lnet/minecraft/util/math/ChunkSectionPos;)Lnet/minecraft/network/PacketByteBuf;
      • readText

        public Text readText()
        Reads a text from this buf. A text is represented by a JSON string with max length 262144.
        返回:
        the read text
        抛出:
        DecoderException - if the JSON string read exceeds 262144 in length
        另请参阅:
        writeText(Text), MAX_TEXT_LENGTH
        Mappings:
        Namespace Name Mixin selector
        official i Lob;i()Lon;
        intermediary method_10808 Lnet/minecraft/class_2540;method_10808()Lnet/minecraft/class_2561;
        named readText Lnet/minecraft/network/PacketByteBuf;readText()Lnet/minecraft/text/Text;
      • writeText

        public PacketByteBuf writeText​(Text text)
        Writes a text to this buf. A text is represented by a JSON string with max length 262144.
        参数:
        text - the text to write
        返回:
        this buf, for chaining
        抛出:
        EncoderException - if the JSON string written exceeds 262144 in length
        另请参阅:
        readText(), MAX_TEXT_LENGTH
        Mappings:
        Namespace Name Mixin selector
        official a Lob;a(Lon;)Lob;
        intermediary method_10805 Lnet/minecraft/class_2540;method_10805(Lnet/minecraft/class_2561;)Lnet/minecraft/class_2540;
        named writeText Lnet/minecraft/network/PacketByteBuf;writeText(Lnet/minecraft/text/Text;)Lnet/minecraft/network/PacketByteBuf;
      • readEnumConstant

        public <T extends Enum<T>> T readEnumConstant​(Class<T> enumClass)
        Reads an enum constant from this buf. An enum constant is represented by a var int indicating its ordinal.
        参数:
        enumClass - the enum class, for constant lookup
        返回:
        the read enum constant
        另请参阅:
        writeEnumConstant(Enum)
        Mappings:
        Namespace Name Mixin selector
        official a Lob;a(Ljava/lang/Class;)Ljava/lang/Enum;
        intermediary method_10818 Lnet/minecraft/class_2540;method_10818(Ljava/lang/Class;)Ljava/lang/Enum;
        named readEnumConstant Lnet/minecraft/network/PacketByteBuf;readEnumConstant(Ljava/lang/Class;)Ljava/lang/Enum;
      • writeEnumConstant

        public PacketByteBuf writeEnumConstant​(Enum<?> instance)
        Writes an enum constant to this buf. An enum constant is represented by a var int indicating its ordinal.
        参数:
        instance - the enum constant to write
        返回:
        this buf, for chaining
        另请参阅:
        readEnumConstant(Class)
        Mappings:
        Namespace Name Mixin selector
        official a Lob;a(Ljava/lang/Enum;)Lob;
        intermediary method_10817 Lnet/minecraft/class_2540;method_10817(Ljava/lang/Enum;)Lnet/minecraft/class_2540;
        named writeEnumConstant Lnet/minecraft/network/PacketByteBuf;writeEnumConstant(Ljava/lang/Enum;)Lnet/minecraft/network/PacketByteBuf;
      • readVarInt

        public int readVarInt()
        Reads a single var int from this buf.
        返回:
        the value read
        另请参阅:
        writeVarInt(int)
        Mappings:
        Namespace Name Mixin selector
        official j Lob;j()I
        intermediary method_10816 Lnet/minecraft/class_2540;method_10816()I
        named readVarInt Lnet/minecraft/network/PacketByteBuf;readVarInt()I
      • readVarLong

        public long readVarLong()
        Reads a single var long from this buf.
        返回:
        the value read
        另请参阅:
        writeVarLong(long)
        Mappings:
        Namespace Name Mixin selector
        official k Lob;k()J
        intermediary method_10792 Lnet/minecraft/class_2540;method_10792()J
        named readVarLong Lnet/minecraft/network/PacketByteBuf;readVarLong()J
      • writeUuid

        public PacketByteBuf writeUuid​(UUID uuid)
        Writes a UUID (universally unique identifier) to this buf. A UUID is represented by two regular longs.
        参数:
        uuid - the UUID to write
        返回:
        this buf, for chaining
        另请参阅:
        readUuid()
        Mappings:
        Namespace Name Mixin selector
        official a Lob;a(Ljava/util/UUID;)Lob;
        intermediary method_10797 Lnet/minecraft/class_2540;method_10797(Ljava/util/UUID;)Lnet/minecraft/class_2540;
        named writeUuid Lnet/minecraft/network/PacketByteBuf;writeUuid(Ljava/util/UUID;)Lnet/minecraft/network/PacketByteBuf;
      • readUuid

        public UUID readUuid()
        Reads a UUID (universally unique identifier) from this buf. A UUID is represented by two regular longs.
        返回:
        the read UUID
        另请参阅:
        writeUuid(UUID)
        Mappings:
        Namespace Name Mixin selector
        official l Lob;l()Ljava/util/UUID;
        intermediary method_10790 Lnet/minecraft/class_2540;method_10790()Ljava/util/UUID;
        named readUuid Lnet/minecraft/network/PacketByteBuf;readUuid()Ljava/util/UUID;
      • writeVarInt

        public PacketByteBuf writeVarInt​(int value)
        Writes a single var int to this buf.

        Compared to regular ints, var ints may use less bytes (ranging from 1 to 5, where regular ints use 4) when representing smaller positive numbers.

        参数:
        value - the value to write
        返回:
        this buf, for chaining
        另请参阅:
        readVarInt(), getVarIntLength(int)
        Mappings:
        Namespace Name Mixin selector
        official d Lob;d(I)Lob;
        intermediary method_10804 Lnet/minecraft/class_2540;method_10804(I)Lnet/minecraft/class_2540;
        named writeVarInt Lnet/minecraft/network/PacketByteBuf;writeVarInt(I)Lnet/minecraft/network/PacketByteBuf;
      • writeVarLong

        public PacketByteBuf writeVarLong​(long value)
        Writes a single var long to this buf.

        Compared to regular longs, var longs may use less bytes when representing smaller positive numbers.

        参数:
        value - the value to write
        返回:
        this buf, for chaining
        另请参阅:
        readVarLong(), getVarLongLength(long)
        Mappings:
        Namespace Name Mixin selector
        official b Lob;b(J)Lob;
        intermediary method_10791 Lnet/minecraft/class_2540;method_10791(J)Lnet/minecraft/class_2540;
        named writeVarLong Lnet/minecraft/network/PacketByteBuf;writeVarLong(J)Lnet/minecraft/network/PacketByteBuf;
      • writeNbt

        public PacketByteBuf writeNbt​(@Nullable
                                      @Nullable CompoundTag compound)
        Writes an NBT compound to this buf. The binary representation of NBT is handled by NbtIo. If compound is null, it is treated as an NBT null.
        参数:
        compound - the compound to write
        返回:
        this buf, for chaining
        抛出:
        EncoderException - if the NBT cannot be written
        另请参阅:
        readNbt(), readUnlimitedNbt(), readNbt(NbtTagSizeTracker)
        Mappings:
        Namespace Name Mixin selector
        official a Lob;a(Lmv;)Lob;
        intermediary method_10794 Lnet/minecraft/class_2540;method_10794(Lnet/minecraft/class_2487;)Lnet/minecraft/class_2540;
        named writeNbt Lnet/minecraft/network/PacketByteBuf;writeNbt(Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/network/PacketByteBuf;
      • readNbt

        @Nullable
        public @Nullable CompoundTag readNbt()
        Reads an NBT compound from this buf. The binary representation of NBT is handled by NbtIo. If an NBT null is encountered, this method returns null. The compound can have a maximum size of 2097152 bytes.
        返回:
        the read compound, may be null
        抛出:
        EncoderException - if the NBT cannot be read
        RuntimeException - if the compound exceeds the allowed maximum size
        另请参阅:
        #writeNbt(NbtCompound), readUnlimitedNbt(), readNbt(NbtTagSizeTracker), MAX_READ_NBT_SIZE
        Mappings:
        Namespace Name Mixin selector
        official m Lob;m()Lmv;
        intermediary method_10798 Lnet/minecraft/class_2540;method_10798()Lnet/minecraft/class_2487;
        named readNbt Lnet/minecraft/network/PacketByteBuf;readNbt()Lnet/minecraft/nbt/CompoundTag;
      • readUnlimitedNbt

        @Nullable
        public @Nullable CompoundTag readUnlimitedNbt()
        Reads an NBT compound from this buf. The binary representation of NBT is handled by NbtIo. If an NBT null is encountered, this method returns null. The compound does not have a size limit.
        返回:
        the read compound, may be null
        抛出:
        EncoderException - if the NBT cannot be read
        另请参阅:
        #writeNbt(NbtCompound), readNbt(), readNbt(NbtTagSizeTracker)
        API Note:
        Since this version does not have a size limit, it may be vulnerable to malicious NBT spam attacks.
        Mappings:
        Namespace Name Mixin selector
        official n Lob;n()Lmv;
        intermediary method_30617 Lnet/minecraft/class_2540;method_30617()Lnet/minecraft/class_2487;
        named readUnlimitedNbt Lnet/minecraft/network/PacketByteBuf;readUnlimitedNbt()Lnet/minecraft/nbt/CompoundTag;
      • readNbt

        @Nullable
        public @Nullable CompoundTag readNbt​(NbtTagSizeTracker sizeTracker)
        Reads an NBT compound from this buf. The binary representation of NBT is handled by NbtIo. If an NBT null is encountered, this method returns null. The compound can have a maximum size controlled by the sizeTracker.
        返回:
        the read compound, may be null
        抛出:
        EncoderException - if the NBT cannot be read
        RuntimeException - if the compound exceeds the allowed maximum size
        另请参阅:
        #writeNbt(NbtCompound), readNbt(), readUnlimitedNbt()
        Mappings:
        Namespace Name Mixin selector
        official a Lob;a(Lne;)Lmv;
        intermediary method_30616 Lnet/minecraft/class_2540;method_30616(Lnet/minecraft/class_2505;)Lnet/minecraft/class_2487;
        named readNbt Lnet/minecraft/network/PacketByteBuf;readNbt(Lnet/minecraft/nbt/NbtTagSizeTracker;)Lnet/minecraft/nbt/CompoundTag;
      • writeItemStack

        public PacketByteBuf writeItemStack​(ItemStack stack)
        Writes an item stack to this buf. An item stack is represented by a boolean indicating whether it exists; if it exists, it is followed by a var int for its raw id, a byte for its count, and an NBT compound for its tag.
        参数:
        stack - the stack to write
        返回:
        this buf, for chaining
        另请参阅:
        readItemStack()
        Mappings:
        Namespace Name Mixin selector
        official a Lob;a(Lbpr;)Lob;
        intermediary method_10793 Lnet/minecraft/class_2540;method_10793(Lnet/minecraft/class_1799;)Lnet/minecraft/class_2540;
        named writeItemStack Lnet/minecraft/network/PacketByteBuf;writeItemStack(Lnet/minecraft/item/ItemStack;)Lnet/minecraft/network/PacketByteBuf;
      • readItemStack

        public ItemStack readItemStack()
        Reads an item stack from this buf. An item stack is represented by a boolean indicating whether it exists; if it exists, it is followed by a var int for its raw id, a byte for its count, and an NBT compound for its tag.
        返回:
        the read item stack
        另请参阅:
        writeItemStack(ItemStack)
        Mappings:
        Namespace Name Mixin selector
        official o Lob;o()Lbpr;
        intermediary method_10819 Lnet/minecraft/class_2540;method_10819()Lnet/minecraft/class_1799;
        named readItemStack Lnet/minecraft/network/PacketByteBuf;readItemStack()Lnet/minecraft/item/ItemStack;
      • readString

        public String readString()
        Reads a string from this buf. A string is represented by a byte array of its UTF-8 data. The string can have a maximum length of 32767.
        返回:
        the string read
        抛出:
        DecoderException - if the string read exceeds the maximum length
        另请参阅:
        readString(int), writeString(String), writeString(String, int)
        Mappings:
        Namespace Name Mixin selector
        official p Lob;p()Ljava/lang/String;
        intermediary method_19772 Lnet/minecraft/class_2540;method_19772()Ljava/lang/String;
        named readString Lnet/minecraft/network/PacketByteBuf;readString()Ljava/lang/String;
      • readString

        public String readString​(int maxLength)
        Reads a string from this buf. A string is represented by a byte array of its UTF-8 data. The string can have a maximum length of maxLength.
        参数:
        maxLength - the maximum length of the string read
        返回:
        the string read
        抛出:
        DecoderException - if the string read is longer than maxLength
        另请参阅:
        readString(), writeString(String), writeString(String, int)
        Mappings:
        Namespace Name Mixin selector
        official e Lob;e(I)Ljava/lang/String;
        intermediary method_10800 Lnet/minecraft/class_2540;method_10800(I)Ljava/lang/String;
        named readString Lnet/minecraft/network/PacketByteBuf;readString(I)Ljava/lang/String;
      • writeString

        public PacketByteBuf writeString​(String string)
        Writes a string to this buf. A string is represented by a byte array of its UTF-8 data. That byte array can have a maximum length of 32767.
        参数:
        string - the string to write
        返回:
        this buf, for chaining
        抛出:
        EncoderException - if the byte array of the string to write is longer than 32767
        另请参阅:
        readString(), readString(int), writeString(String, int)
        Mappings:
        Namespace Name Mixin selector
        official a Lob;a(Ljava/lang/String;)Lob;
        intermediary method_10814 Lnet/minecraft/class_2540;method_10814(Ljava/lang/String;)Lnet/minecraft/class_2540;
        named writeString Lnet/minecraft/network/PacketByteBuf;writeString(Ljava/lang/String;)Lnet/minecraft/network/PacketByteBuf;
      • writeString

        public PacketByteBuf writeString​(String string,
                                         int maxLength)
        Writes a string to this buf. A string is represented by a byte array of its UTF-8 data. That byte array can have a maximum length of maxLength.
        参数:
        string - the string to write
        maxLength - the max length of the byte array
        返回:
        this buf, for chaining
        抛出:
        EncoderException - if the byte array of the string to write is longer than maxLength
        另请参阅:
        readString(), readString(int), writeString(String)
        Mappings:
        Namespace Name Mixin selector
        official a Lob;a(Ljava/lang/String;I)Lob;
        intermediary method_10788 Lnet/minecraft/class_2540;method_10788(Ljava/lang/String;I)Lnet/minecraft/class_2540;
        named writeString Lnet/minecraft/network/PacketByteBuf;writeString(Ljava/lang/String;I)Lnet/minecraft/network/PacketByteBuf;
      • readIdentifier

        public Identifier readIdentifier()
        Reads an identifier from this buf. An identifier is represented by its string form. The read identifier's string form can have a max length of 32767.
        返回:
        the read identifier
        抛出:
        DecoderException - if the identifier's string form is longer than 32767
        另请参阅:
        writeIdentifier(Identifier)
        Mappings:
        Namespace Name Mixin selector
        official q Lob;q()Lwp;
        intermediary method_10810 Lnet/minecraft/class_2540;method_10810()Lnet/minecraft/class_2960;
        named readIdentifier Lnet/minecraft/network/PacketByteBuf;readIdentifier()Lnet/minecraft/util/Identifier;
      • writeIdentifier

        public PacketByteBuf writeIdentifier​(Identifier id)
        Writes an identifier to this buf. An identifier is represented by its string form. The written identifier's byte array can have a max length of 32767.
        参数:
        id - the identifier to write
        返回:
        the read identifier
        抛出:
        EncoderException - if the id's byte array is longer than 32767
        另请参阅:
        readIdentifier()
        Mappings:
        Namespace Name Mixin selector
        official a Lob;a(Lwp;)Lob;
        intermediary method_10812 Lnet/minecraft/class_2540;method_10812(Lnet/minecraft/class_2960;)Lnet/minecraft/class_2540;
        named writeIdentifier Lnet/minecraft/network/PacketByteBuf;writeIdentifier(Lnet/minecraft/util/Identifier;)Lnet/minecraft/network/PacketByteBuf;
      • readDate

        public Date readDate()
        Reads a date from this buf. A date is represented by its time, a regular long.
        返回:
        the read date
        另请参阅:
        writeDate(Date)
        Mappings:
        Namespace Name Mixin selector
        official r Lob;r()Ljava/util/Date;
        intermediary method_10802 Lnet/minecraft/class_2540;method_10802()Ljava/util/Date;
        named readDate Lnet/minecraft/network/PacketByteBuf;readDate()Ljava/util/Date;
      • writeDate

        public PacketByteBuf writeDate​(Date date)
        Writes a date to this buf. A date is represented by its time, a regular long.
        参数:
        date - the date to write
        返回:
        this buf, for chaining
        另请参阅:
        readDate()
        Mappings:
        Namespace Name Mixin selector
        official a Lob;a(Ljava/util/Date;)Lob;
        intermediary method_10796 Lnet/minecraft/class_2540;method_10796(Ljava/util/Date;)Lnet/minecraft/class_2540;
        named writeDate Lnet/minecraft/network/PacketByteBuf;writeDate(Ljava/util/Date;)Lnet/minecraft/network/PacketByteBuf;
      • readBlockHitResult

        public BlockHitResult readBlockHitResult()
        Reads a block hit result from this buf. A block hit result is represented by a block position, a direction enum constant, 3 floats for the hit offset position, and a boolean for whether the hit was inside a block.
        返回:
        the read block hit result
        另请参阅:
        writeBlockHitResult(BlockHitResult)
        Mappings:
        Namespace Name Mixin selector
        official s Lob;s()Ldlw;
        intermediary method_17814 Lnet/minecraft/class_2540;method_17814()Lnet/minecraft/class_3965;
        named readBlockHitResult Lnet/minecraft/network/PacketByteBuf;readBlockHitResult()Lnet/minecraft/util/hit/BlockHitResult;
      • writeBlockHitResult

        public void writeBlockHitResult​(BlockHitResult hitResult)
        Writes a block hit result to this buf. A block hit result is represented by a block position, a direction enum constant, 3 floats for the hit offset position, and a boolean for whether the hit was inside a block.
        参数:
        hitResult - the block hit result to write
        另请参阅:
        readBlockHitResult()
        Mappings:
        Namespace Name Mixin selector
        official a Lob;a(Ldlw;)V
        intermediary method_17813 Lnet/minecraft/class_2540;method_17813(Lnet/minecraft/class_3965;)V
        named writeBlockHitResult Lnet/minecraft/network/PacketByteBuf;writeBlockHitResult(Lnet/minecraft/util/hit/BlockHitResult;)V
      • readBitSet

        public BitSet readBitSet()
        Reads a bit set from this buf. A bit set is represented by a long array.
        返回:
        the read bit set
        另请参阅:
        writeBitSet(BitSet)
        Mappings:
        Namespace Name Mixin selector
        official t Lob;t()Ljava/util/BitSet;
        intermediary method_33558 Lnet/minecraft/class_2540;method_33558()Ljava/util/BitSet;
        named readBitSet Lnet/minecraft/network/PacketByteBuf;readBitSet()Ljava/util/BitSet;
      • writeBitSet

        public void writeBitSet​(BitSet bitSet)
        Writes a bit set to this buf. A bit set is represented by a long array.
        参数:
        bitSet - the bit set to write
        另请参阅:
        readBitSet()
        Mappings:
        Namespace Name Mixin selector
        official a Lob;a(Ljava/util/BitSet;)V
        intermediary method_33557 Lnet/minecraft/class_2540;method_33557(Ljava/util/BitSet;)V
        named writeBitSet Lnet/minecraft/network/PacketByteBuf;writeBitSet(Ljava/util/BitSet;)V
      • capacity

        public int capacity()
        指定者:
        capacity 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official capacity Lob;capacity()I
        intermediary capacity Lnet/minecraft/class_2540;capacity()I
        named capacity Lnet/minecraft/network/PacketByteBuf;capacity()I
      • capacity

        public ByteBuf capacity​(int int2)
        指定者:
        capacity 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official capacity Lob;capacity(I)Lio/netty/buffer/ByteBuf;
        intermediary capacity Lnet/minecraft/class_2540;capacity(I)Lio/netty/buffer/ByteBuf;
        named capacity Lnet/minecraft/network/PacketByteBuf;capacity(I)Lio/netty/buffer/ByteBuf;
      • maxCapacity

        public int maxCapacity()
        指定者:
        maxCapacity 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official maxCapacity Lob;maxCapacity()I
        intermediary maxCapacity Lnet/minecraft/class_2540;maxCapacity()I
        named maxCapacity Lnet/minecraft/network/PacketByteBuf;maxCapacity()I
      • alloc

        public ByteBufAllocator alloc()
        指定者:
        alloc 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official alloc Lob;alloc()Lio/netty/buffer/ByteBufAllocator;
        intermediary alloc Lnet/minecraft/class_2540;alloc()Lio/netty/buffer/ByteBufAllocator;
        named alloc Lnet/minecraft/network/PacketByteBuf;alloc()Lio/netty/buffer/ByteBufAllocator;
      • order

        public ByteOrder order()
        指定者:
        order 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official order Lob;order()Ljava/nio/ByteOrder;
        intermediary order Lnet/minecraft/class_2540;order()Ljava/nio/ByteOrder;
        named order Lnet/minecraft/network/PacketByteBuf;order()Ljava/nio/ByteOrder;
      • order

        public ByteBuf order​(ByteOrder byteOrder)
        指定者:
        order 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official order Lob;order(Ljava/nio/ByteOrder;)Lio/netty/buffer/ByteBuf;
        intermediary order Lnet/minecraft/class_2540;order(Ljava/nio/ByteOrder;)Lio/netty/buffer/ByteBuf;
        named order Lnet/minecraft/network/PacketByteBuf;order(Ljava/nio/ByteOrder;)Lio/netty/buffer/ByteBuf;
      • unwrap

        public ByteBuf unwrap()
        指定者:
        unwrap 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official unwrap Lob;unwrap()Lio/netty/buffer/ByteBuf;
        intermediary unwrap Lnet/minecraft/class_2540;unwrap()Lio/netty/buffer/ByteBuf;
        named unwrap Lnet/minecraft/network/PacketByteBuf;unwrap()Lio/netty/buffer/ByteBuf;
      • isDirect

        public boolean isDirect()
        指定者:
        isDirect 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official isDirect Lob;isDirect()Z
        intermediary isDirect Lnet/minecraft/class_2540;isDirect()Z
        named isDirect Lnet/minecraft/network/PacketByteBuf;isDirect()Z
      • isReadOnly

        public boolean isReadOnly()
        指定者:
        isReadOnly 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official isReadOnly Lob;isReadOnly()Z
        intermediary isReadOnly Lnet/minecraft/class_2540;isReadOnly()Z
        named isReadOnly Lnet/minecraft/network/PacketByteBuf;isReadOnly()Z
      • asReadOnly

        public ByteBuf asReadOnly()
        指定者:
        asReadOnly 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official asReadOnly Lob;asReadOnly()Lio/netty/buffer/ByteBuf;
        intermediary asReadOnly Lnet/minecraft/class_2540;asReadOnly()Lio/netty/buffer/ByteBuf;
        named asReadOnly Lnet/minecraft/network/PacketByteBuf;asReadOnly()Lio/netty/buffer/ByteBuf;
      • readerIndex

        public int readerIndex()
        指定者:
        readerIndex 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official readerIndex Lob;readerIndex()I
        intermediary readerIndex Lnet/minecraft/class_2540;readerIndex()I
        named readerIndex Lnet/minecraft/network/PacketByteBuf;readerIndex()I
      • readerIndex

        public ByteBuf readerIndex​(int int2)
        指定者:
        readerIndex 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official readerIndex Lob;readerIndex(I)Lio/netty/buffer/ByteBuf;
        intermediary readerIndex Lnet/minecraft/class_2540;readerIndex(I)Lio/netty/buffer/ByteBuf;
        named readerIndex Lnet/minecraft/network/PacketByteBuf;readerIndex(I)Lio/netty/buffer/ByteBuf;
      • writerIndex

        public int writerIndex()
        指定者:
        writerIndex 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official writerIndex Lob;writerIndex()I
        intermediary writerIndex Lnet/minecraft/class_2540;writerIndex()I
        named writerIndex Lnet/minecraft/network/PacketByteBuf;writerIndex()I
      • writerIndex

        public ByteBuf writerIndex​(int int2)
        指定者:
        writerIndex 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official writerIndex Lob;writerIndex(I)Lio/netty/buffer/ByteBuf;
        intermediary writerIndex Lnet/minecraft/class_2540;writerIndex(I)Lio/netty/buffer/ByteBuf;
        named writerIndex Lnet/minecraft/network/PacketByteBuf;writerIndex(I)Lio/netty/buffer/ByteBuf;
      • setIndex

        public ByteBuf setIndex​(int int2,
                                int int3)
        指定者:
        setIndex 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official setIndex Lob;setIndex(II)Lio/netty/buffer/ByteBuf;
        intermediary setIndex Lnet/minecraft/class_2540;setIndex(II)Lio/netty/buffer/ByteBuf;
        named setIndex Lnet/minecraft/network/PacketByteBuf;setIndex(II)Lio/netty/buffer/ByteBuf;
      • readableBytes

        public int readableBytes()
        指定者:
        readableBytes 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official readableBytes Lob;readableBytes()I
        intermediary readableBytes Lnet/minecraft/class_2540;readableBytes()I
        named readableBytes Lnet/minecraft/network/PacketByteBuf;readableBytes()I
      • writableBytes

        public int writableBytes()
        指定者:
        writableBytes 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official writableBytes Lob;writableBytes()I
        intermediary writableBytes Lnet/minecraft/class_2540;writableBytes()I
        named writableBytes Lnet/minecraft/network/PacketByteBuf;writableBytes()I
      • maxWritableBytes

        public int maxWritableBytes()
        指定者:
        maxWritableBytes 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official maxWritableBytes Lob;maxWritableBytes()I
        intermediary maxWritableBytes Lnet/minecraft/class_2540;maxWritableBytes()I
        named maxWritableBytes Lnet/minecraft/network/PacketByteBuf;maxWritableBytes()I
      • isReadable

        public boolean isReadable()
        指定者:
        isReadable 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official isReadable Lob;isReadable()Z
        intermediary isReadable Lnet/minecraft/class_2540;isReadable()Z
        named isReadable Lnet/minecraft/network/PacketByteBuf;isReadable()Z
      • isReadable

        public boolean isReadable​(int int2)
        指定者:
        isReadable 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official isReadable Lob;isReadable(I)Z
        intermediary isReadable Lnet/minecraft/class_2540;isReadable(I)Z
        named isReadable Lnet/minecraft/network/PacketByteBuf;isReadable(I)Z
      • isWritable

        public boolean isWritable()
        指定者:
        isWritable 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official isWritable Lob;isWritable()Z
        intermediary isWritable Lnet/minecraft/class_2540;isWritable()Z
        named isWritable Lnet/minecraft/network/PacketByteBuf;isWritable()Z
      • isWritable

        public boolean isWritable​(int int2)
        指定者:
        isWritable 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official isWritable Lob;isWritable(I)Z
        intermediary isWritable Lnet/minecraft/class_2540;isWritable(I)Z
        named isWritable Lnet/minecraft/network/PacketByteBuf;isWritable(I)Z
      • clear

        public ByteBuf clear()
        指定者:
        clear 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official clear Lob;clear()Lio/netty/buffer/ByteBuf;
        intermediary clear Lnet/minecraft/class_2540;clear()Lio/netty/buffer/ByteBuf;
        named clear Lnet/minecraft/network/PacketByteBuf;clear()Lio/netty/buffer/ByteBuf;
      • markReaderIndex

        public ByteBuf markReaderIndex()
        指定者:
        markReaderIndex 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official markReaderIndex Lob;markReaderIndex()Lio/netty/buffer/ByteBuf;
        intermediary markReaderIndex Lnet/minecraft/class_2540;markReaderIndex()Lio/netty/buffer/ByteBuf;
        named markReaderIndex Lnet/minecraft/network/PacketByteBuf;markReaderIndex()Lio/netty/buffer/ByteBuf;
      • resetReaderIndex

        public ByteBuf resetReaderIndex()
        指定者:
        resetReaderIndex 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official resetReaderIndex Lob;resetReaderIndex()Lio/netty/buffer/ByteBuf;
        intermediary resetReaderIndex Lnet/minecraft/class_2540;resetReaderIndex()Lio/netty/buffer/ByteBuf;
        named resetReaderIndex Lnet/minecraft/network/PacketByteBuf;resetReaderIndex()Lio/netty/buffer/ByteBuf;
      • markWriterIndex

        public ByteBuf markWriterIndex()
        指定者:
        markWriterIndex 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official markWriterIndex Lob;markWriterIndex()Lio/netty/buffer/ByteBuf;
        intermediary markWriterIndex Lnet/minecraft/class_2540;markWriterIndex()Lio/netty/buffer/ByteBuf;
        named markWriterIndex Lnet/minecraft/network/PacketByteBuf;markWriterIndex()Lio/netty/buffer/ByteBuf;
      • resetWriterIndex

        public ByteBuf resetWriterIndex()
        指定者:
        resetWriterIndex 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official resetWriterIndex Lob;resetWriterIndex()Lio/netty/buffer/ByteBuf;
        intermediary resetWriterIndex Lnet/minecraft/class_2540;resetWriterIndex()Lio/netty/buffer/ByteBuf;
        named resetWriterIndex Lnet/minecraft/network/PacketByteBuf;resetWriterIndex()Lio/netty/buffer/ByteBuf;
      • discardReadBytes

        public ByteBuf discardReadBytes()
        指定者:
        discardReadBytes 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official discardReadBytes Lob;discardReadBytes()Lio/netty/buffer/ByteBuf;
        intermediary discardReadBytes Lnet/minecraft/class_2540;discardReadBytes()Lio/netty/buffer/ByteBuf;
        named discardReadBytes Lnet/minecraft/network/PacketByteBuf;discardReadBytes()Lio/netty/buffer/ByteBuf;
      • discardSomeReadBytes

        public ByteBuf discardSomeReadBytes()
        指定者:
        discardSomeReadBytes 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official discardSomeReadBytes Lob;discardSomeReadBytes()Lio/netty/buffer/ByteBuf;
        intermediary discardSomeReadBytes Lnet/minecraft/class_2540;discardSomeReadBytes()Lio/netty/buffer/ByteBuf;
        named discardSomeReadBytes Lnet/minecraft/network/PacketByteBuf;discardSomeReadBytes()Lio/netty/buffer/ByteBuf;
      • ensureWritable

        public ByteBuf ensureWritable​(int int2)
        指定者:
        ensureWritable 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official ensureWritable Lob;ensureWritable(I)Lio/netty/buffer/ByteBuf;
        intermediary ensureWritable Lnet/minecraft/class_2540;ensureWritable(I)Lio/netty/buffer/ByteBuf;
        named ensureWritable Lnet/minecraft/network/PacketByteBuf;ensureWritable(I)Lio/netty/buffer/ByteBuf;
      • ensureWritable

        public int ensureWritable​(int int2,
                                  boolean bool)
        指定者:
        ensureWritable 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official ensureWritable Lob;ensureWritable(IZ)I
        intermediary ensureWritable Lnet/minecraft/class_2540;ensureWritable(IZ)I
        named ensureWritable Lnet/minecraft/network/PacketByteBuf;ensureWritable(IZ)I
      • getBoolean

        public boolean getBoolean​(int int2)
        指定者:
        getBoolean 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official getBoolean Lob;getBoolean(I)Z
        intermediary getBoolean Lnet/minecraft/class_2540;getBoolean(I)Z
        named getBoolean Lnet/minecraft/network/PacketByteBuf;getBoolean(I)Z
      • getByte

        public byte getByte​(int int2)
        指定者:
        getByte 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official getByte Lob;getByte(I)B
        intermediary getByte Lnet/minecraft/class_2540;getByte(I)B
        named getByte Lnet/minecraft/network/PacketByteBuf;getByte(I)B
      • getUnsignedByte

        public short getUnsignedByte​(int int2)
        指定者:
        getUnsignedByte 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official getUnsignedByte Lob;getUnsignedByte(I)S
        intermediary getUnsignedByte Lnet/minecraft/class_2540;getUnsignedByte(I)S
        named getUnsignedByte Lnet/minecraft/network/PacketByteBuf;getUnsignedByte(I)S
      • getShort

        public short getShort​(int int2)
        指定者:
        getShort 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official getShort Lob;getShort(I)S
        intermediary getShort Lnet/minecraft/class_2540;getShort(I)S
        named getShort Lnet/minecraft/network/PacketByteBuf;getShort(I)S
      • getShortLE

        public short getShortLE​(int int2)
        指定者:
        getShortLE 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official getShortLE Lob;getShortLE(I)S
        intermediary getShortLE Lnet/minecraft/class_2540;getShortLE(I)S
        named getShortLE Lnet/minecraft/network/PacketByteBuf;getShortLE(I)S
      • getUnsignedShort

        public int getUnsignedShort​(int int2)
        指定者:
        getUnsignedShort 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official getUnsignedShort Lob;getUnsignedShort(I)I
        intermediary getUnsignedShort Lnet/minecraft/class_2540;getUnsignedShort(I)I
        named getUnsignedShort Lnet/minecraft/network/PacketByteBuf;getUnsignedShort(I)I
      • getUnsignedShortLE

        public int getUnsignedShortLE​(int int2)
        指定者:
        getUnsignedShortLE 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official getUnsignedShortLE Lob;getUnsignedShortLE(I)I
        intermediary getUnsignedShortLE Lnet/minecraft/class_2540;getUnsignedShortLE(I)I
        named getUnsignedShortLE Lnet/minecraft/network/PacketByteBuf;getUnsignedShortLE(I)I
      • getMedium

        public int getMedium​(int int2)
        指定者:
        getMedium 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official getMedium Lob;getMedium(I)I
        intermediary getMedium Lnet/minecraft/class_2540;getMedium(I)I
        named getMedium Lnet/minecraft/network/PacketByteBuf;getMedium(I)I
      • getMediumLE

        public int getMediumLE​(int int2)
        指定者:
        getMediumLE 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official getMediumLE Lob;getMediumLE(I)I
        intermediary getMediumLE Lnet/minecraft/class_2540;getMediumLE(I)I
        named getMediumLE Lnet/minecraft/network/PacketByteBuf;getMediumLE(I)I
      • getUnsignedMedium

        public int getUnsignedMedium​(int int2)
        指定者:
        getUnsignedMedium 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official getUnsignedMedium Lob;getUnsignedMedium(I)I
        intermediary getUnsignedMedium Lnet/minecraft/class_2540;getUnsignedMedium(I)I
        named getUnsignedMedium Lnet/minecraft/network/PacketByteBuf;getUnsignedMedium(I)I
      • getUnsignedMediumLE

        public int getUnsignedMediumLE​(int int2)
        指定者:
        getUnsignedMediumLE 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official getUnsignedMediumLE Lob;getUnsignedMediumLE(I)I
        intermediary getUnsignedMediumLE Lnet/minecraft/class_2540;getUnsignedMediumLE(I)I
        named getUnsignedMediumLE Lnet/minecraft/network/PacketByteBuf;getUnsignedMediumLE(I)I
      • getInt

        public int getInt​(int int2)
        指定者:
        getInt 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official getInt Lob;getInt(I)I
        intermediary getInt Lnet/minecraft/class_2540;getInt(I)I
        named getInt Lnet/minecraft/network/PacketByteBuf;getInt(I)I
      • getIntLE

        public int getIntLE​(int int2)
        指定者:
        getIntLE 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official getIntLE Lob;getIntLE(I)I
        intermediary getIntLE Lnet/minecraft/class_2540;getIntLE(I)I
        named getIntLE Lnet/minecraft/network/PacketByteBuf;getIntLE(I)I
      • getUnsignedInt

        public long getUnsignedInt​(int int2)
        指定者:
        getUnsignedInt 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official getUnsignedInt Lob;getUnsignedInt(I)J
        intermediary getUnsignedInt Lnet/minecraft/class_2540;getUnsignedInt(I)J
        named getUnsignedInt Lnet/minecraft/network/PacketByteBuf;getUnsignedInt(I)J
      • getUnsignedIntLE

        public long getUnsignedIntLE​(int int2)
        指定者:
        getUnsignedIntLE 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official getUnsignedIntLE Lob;getUnsignedIntLE(I)J
        intermediary getUnsignedIntLE Lnet/minecraft/class_2540;getUnsignedIntLE(I)J
        named getUnsignedIntLE Lnet/minecraft/network/PacketByteBuf;getUnsignedIntLE(I)J
      • getLong

        public long getLong​(int int2)
        指定者:
        getLong 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official getLong Lob;getLong(I)J
        intermediary getLong Lnet/minecraft/class_2540;getLong(I)J
        named getLong Lnet/minecraft/network/PacketByteBuf;getLong(I)J
      • getLongLE

        public long getLongLE​(int int2)
        指定者:
        getLongLE 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official getLongLE Lob;getLongLE(I)J
        intermediary getLongLE Lnet/minecraft/class_2540;getLongLE(I)J
        named getLongLE Lnet/minecraft/network/PacketByteBuf;getLongLE(I)J
      • getChar

        public char getChar​(int int2)
        指定者:
        getChar 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official getChar Lob;getChar(I)C
        intermediary getChar Lnet/minecraft/class_2540;getChar(I)C
        named getChar Lnet/minecraft/network/PacketByteBuf;getChar(I)C
      • getFloat

        public float getFloat​(int int2)
        指定者:
        getFloat 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official getFloat Lob;getFloat(I)F
        intermediary getFloat Lnet/minecraft/class_2540;getFloat(I)F
        named getFloat Lnet/minecraft/network/PacketByteBuf;getFloat(I)F
      • getDouble

        public double getDouble​(int int2)
        指定者:
        getDouble 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official getDouble Lob;getDouble(I)D
        intermediary getDouble Lnet/minecraft/class_2540;getDouble(I)D
        named getDouble Lnet/minecraft/network/PacketByteBuf;getDouble(I)D
      • getBytes

        public ByteBuf getBytes​(int int2,
                                ByteBuf byteBuf)
        指定者:
        getBytes 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official getBytes Lob;getBytes(ILio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf;
        intermediary getBytes Lnet/minecraft/class_2540;getBytes(ILio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf;
        named getBytes Lnet/minecraft/network/PacketByteBuf;getBytes(ILio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf;
      • getBytes

        public ByteBuf getBytes​(int int2,
                                ByteBuf byteBuf,
                                int int3)
        指定者:
        getBytes 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official getBytes Lob;getBytes(ILio/netty/buffer/ByteBuf;I)Lio/netty/buffer/ByteBuf;
        intermediary getBytes Lnet/minecraft/class_2540;getBytes(ILio/netty/buffer/ByteBuf;I)Lio/netty/buffer/ByteBuf;
        named getBytes Lnet/minecraft/network/PacketByteBuf;getBytes(ILio/netty/buffer/ByteBuf;I)Lio/netty/buffer/ByteBuf;
      • getBytes

        public ByteBuf getBytes​(int int2,
                                ByteBuf byteBuf,
                                int int3,
                                int int4)
        指定者:
        getBytes 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official getBytes Lob;getBytes(ILio/netty/buffer/ByteBuf;II)Lio/netty/buffer/ByteBuf;
        intermediary getBytes Lnet/minecraft/class_2540;getBytes(ILio/netty/buffer/ByteBuf;II)Lio/netty/buffer/ByteBuf;
        named getBytes Lnet/minecraft/network/PacketByteBuf;getBytes(ILio/netty/buffer/ByteBuf;II)Lio/netty/buffer/ByteBuf;
      • getBytes

        public ByteBuf getBytes​(int int2,
                                byte[] byte2)
        指定者:
        getBytes 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official getBytes Lob;getBytes(I[B)Lio/netty/buffer/ByteBuf;
        intermediary getBytes Lnet/minecraft/class_2540;getBytes(I[B)Lio/netty/buffer/ByteBuf;
        named getBytes Lnet/minecraft/network/PacketByteBuf;getBytes(I[B)Lio/netty/buffer/ByteBuf;
      • getBytes

        public ByteBuf getBytes​(int int2,
                                byte[] byte2,
                                int int3,
                                int int4)
        指定者:
        getBytes 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official getBytes Lob;getBytes(I[BII)Lio/netty/buffer/ByteBuf;
        intermediary getBytes Lnet/minecraft/class_2540;getBytes(I[BII)Lio/netty/buffer/ByteBuf;
        named getBytes Lnet/minecraft/network/PacketByteBuf;getBytes(I[BII)Lio/netty/buffer/ByteBuf;
      • getBytes

        public ByteBuf getBytes​(int int2,
                                ByteBuffer byteBuffer)
        指定者:
        getBytes 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official getBytes Lob;getBytes(ILjava/nio/ByteBuffer;)Lio/netty/buffer/ByteBuf;
        intermediary getBytes Lnet/minecraft/class_2540;getBytes(ILjava/nio/ByteBuffer;)Lio/netty/buffer/ByteBuf;
        named getBytes Lnet/minecraft/network/PacketByteBuf;getBytes(ILjava/nio/ByteBuffer;)Lio/netty/buffer/ByteBuf;
      • getBytes

        public ByteBuf getBytes​(int int2,
                                OutputStream outputStream,
                                int int3)
                         throws IOException
        指定者:
        getBytes 在类中 ByteBuf
        抛出:
        IOException
        Mappings:
        Namespace Name Mixin selector
        official getBytes Lob;getBytes(ILjava/io/OutputStream;I)Lio/netty/buffer/ByteBuf;
        intermediary getBytes Lnet/minecraft/class_2540;getBytes(ILjava/io/OutputStream;I)Lio/netty/buffer/ByteBuf;
        named getBytes Lnet/minecraft/network/PacketByteBuf;getBytes(ILjava/io/OutputStream;I)Lio/netty/buffer/ByteBuf;
      • getBytes

        public int getBytes​(int int2,
                            GatheringByteChannel gatheringByteChannel,
                            int int3)
                     throws IOException
        指定者:
        getBytes 在类中 ByteBuf
        抛出:
        IOException
        Mappings:
        Namespace Name Mixin selector
        official getBytes Lob;getBytes(ILjava/nio/channels/GatheringByteChannel;I)I
        intermediary getBytes Lnet/minecraft/class_2540;getBytes(ILjava/nio/channels/GatheringByteChannel;I)I
        named getBytes Lnet/minecraft/network/PacketByteBuf;getBytes(ILjava/nio/channels/GatheringByteChannel;I)I
      • getBytes

        public int getBytes​(int int2,
                            FileChannel fileChannel,
                            long long2,
                            int int3)
                     throws IOException
        指定者:
        getBytes 在类中 ByteBuf
        抛出:
        IOException
        Mappings:
        Namespace Name Mixin selector
        official getBytes Lob;getBytes(ILjava/nio/channels/FileChannel;JI)I
        intermediary getBytes Lnet/minecraft/class_2540;getBytes(ILjava/nio/channels/FileChannel;JI)I
        named getBytes Lnet/minecraft/network/PacketByteBuf;getBytes(ILjava/nio/channels/FileChannel;JI)I
      • getCharSequence

        public CharSequence getCharSequence​(int int2,
                                            int int3,
                                            Charset charset)
        指定者:
        getCharSequence 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official getCharSequence Lob;getCharSequence(IILjava/nio/charset/Charset;)Ljava/lang/CharSequence;
        intermediary getCharSequence Lnet/minecraft/class_2540;getCharSequence(IILjava/nio/charset/Charset;)Ljava/lang/CharSequence;
        named getCharSequence Lnet/minecraft/network/PacketByteBuf;getCharSequence(IILjava/nio/charset/Charset;)Ljava/lang/CharSequence;
      • setBoolean

        public ByteBuf setBoolean​(int int2,
                                  boolean bool)
        指定者:
        setBoolean 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official setBoolean Lob;setBoolean(IZ)Lio/netty/buffer/ByteBuf;
        intermediary setBoolean Lnet/minecraft/class_2540;setBoolean(IZ)Lio/netty/buffer/ByteBuf;
        named setBoolean Lnet/minecraft/network/PacketByteBuf;setBoolean(IZ)Lio/netty/buffer/ByteBuf;
      • setByte

        public ByteBuf setByte​(int int2,
                               int int3)
        指定者:
        setByte 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official setByte Lob;setByte(II)Lio/netty/buffer/ByteBuf;
        intermediary setByte Lnet/minecraft/class_2540;setByte(II)Lio/netty/buffer/ByteBuf;
        named setByte Lnet/minecraft/network/PacketByteBuf;setByte(II)Lio/netty/buffer/ByteBuf;
      • setShort

        public ByteBuf setShort​(int int2,
                                int int3)
        指定者:
        setShort 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official setShort Lob;setShort(II)Lio/netty/buffer/ByteBuf;
        intermediary setShort Lnet/minecraft/class_2540;setShort(II)Lio/netty/buffer/ByteBuf;
        named setShort Lnet/minecraft/network/PacketByteBuf;setShort(II)Lio/netty/buffer/ByteBuf;
      • setShortLE

        public ByteBuf setShortLE​(int int2,
                                  int int3)
        指定者:
        setShortLE 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official setShortLE Lob;setShortLE(II)Lio/netty/buffer/ByteBuf;
        intermediary setShortLE Lnet/minecraft/class_2540;setShortLE(II)Lio/netty/buffer/ByteBuf;
        named setShortLE Lnet/minecraft/network/PacketByteBuf;setShortLE(II)Lio/netty/buffer/ByteBuf;
      • setMedium

        public ByteBuf setMedium​(int int2,
                                 int int3)
        指定者:
        setMedium 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official setMedium Lob;setMedium(II)Lio/netty/buffer/ByteBuf;
        intermediary setMedium Lnet/minecraft/class_2540;setMedium(II)Lio/netty/buffer/ByteBuf;
        named setMedium Lnet/minecraft/network/PacketByteBuf;setMedium(II)Lio/netty/buffer/ByteBuf;
      • setMediumLE

        public ByteBuf setMediumLE​(int int2,
                                   int int3)
        指定者:
        setMediumLE 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official setMediumLE Lob;setMediumLE(II)Lio/netty/buffer/ByteBuf;
        intermediary setMediumLE Lnet/minecraft/class_2540;setMediumLE(II)Lio/netty/buffer/ByteBuf;
        named setMediumLE Lnet/minecraft/network/PacketByteBuf;setMediumLE(II)Lio/netty/buffer/ByteBuf;
      • setInt

        public ByteBuf setInt​(int int2,
                              int int3)
        指定者:
        setInt 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official setInt Lob;setInt(II)Lio/netty/buffer/ByteBuf;
        intermediary setInt Lnet/minecraft/class_2540;setInt(II)Lio/netty/buffer/ByteBuf;
        named setInt Lnet/minecraft/network/PacketByteBuf;setInt(II)Lio/netty/buffer/ByteBuf;
      • setIntLE

        public ByteBuf setIntLE​(int int2,
                                int int3)
        指定者:
        setIntLE 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official setIntLE Lob;setIntLE(II)Lio/netty/buffer/ByteBuf;
        intermediary setIntLE Lnet/minecraft/class_2540;setIntLE(II)Lio/netty/buffer/ByteBuf;
        named setIntLE Lnet/minecraft/network/PacketByteBuf;setIntLE(II)Lio/netty/buffer/ByteBuf;
      • setLong

        public ByteBuf setLong​(int int2,
                               long long2)
        指定者:
        setLong 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official setLong Lob;setLong(IJ)Lio/netty/buffer/ByteBuf;
        intermediary setLong Lnet/minecraft/class_2540;setLong(IJ)Lio/netty/buffer/ByteBuf;
        named setLong Lnet/minecraft/network/PacketByteBuf;setLong(IJ)Lio/netty/buffer/ByteBuf;
      • setLongLE

        public ByteBuf setLongLE​(int int2,
                                 long long2)
        指定者:
        setLongLE 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official setLongLE Lob;setLongLE(IJ)Lio/netty/buffer/ByteBuf;
        intermediary setLongLE Lnet/minecraft/class_2540;setLongLE(IJ)Lio/netty/buffer/ByteBuf;
        named setLongLE Lnet/minecraft/network/PacketByteBuf;setLongLE(IJ)Lio/netty/buffer/ByteBuf;
      • setChar

        public ByteBuf setChar​(int int2,
                               int int3)
        指定者:
        setChar 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official setChar Lob;setChar(II)Lio/netty/buffer/ByteBuf;
        intermediary setChar Lnet/minecraft/class_2540;setChar(II)Lio/netty/buffer/ByteBuf;
        named setChar Lnet/minecraft/network/PacketByteBuf;setChar(II)Lio/netty/buffer/ByteBuf;
      • setFloat

        public ByteBuf setFloat​(int int2,
                                float float2)
        指定者:
        setFloat 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official setFloat Lob;setFloat(IF)Lio/netty/buffer/ByteBuf;
        intermediary setFloat Lnet/minecraft/class_2540;setFloat(IF)Lio/netty/buffer/ByteBuf;
        named setFloat Lnet/minecraft/network/PacketByteBuf;setFloat(IF)Lio/netty/buffer/ByteBuf;
      • setDouble

        public ByteBuf setDouble​(int int2,
                                 double double2)
        指定者:
        setDouble 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official setDouble Lob;setDouble(ID)Lio/netty/buffer/ByteBuf;
        intermediary setDouble Lnet/minecraft/class_2540;setDouble(ID)Lio/netty/buffer/ByteBuf;
        named setDouble Lnet/minecraft/network/PacketByteBuf;setDouble(ID)Lio/netty/buffer/ByteBuf;
      • setBytes

        public ByteBuf setBytes​(int int2,
                                ByteBuf byteBuf)
        指定者:
        setBytes 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official setBytes Lob;setBytes(ILio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf;
        intermediary setBytes Lnet/minecraft/class_2540;setBytes(ILio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf;
        named setBytes Lnet/minecraft/network/PacketByteBuf;setBytes(ILio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf;
      • setBytes

        public ByteBuf setBytes​(int int2,
                                ByteBuf byteBuf,
                                int int3)
        指定者:
        setBytes 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official setBytes Lob;setBytes(ILio/netty/buffer/ByteBuf;I)Lio/netty/buffer/ByteBuf;
        intermediary setBytes Lnet/minecraft/class_2540;setBytes(ILio/netty/buffer/ByteBuf;I)Lio/netty/buffer/ByteBuf;
        named setBytes Lnet/minecraft/network/PacketByteBuf;setBytes(ILio/netty/buffer/ByteBuf;I)Lio/netty/buffer/ByteBuf;
      • setBytes

        public ByteBuf setBytes​(int int2,
                                ByteBuf byteBuf,
                                int int3,
                                int int4)
        指定者:
        setBytes 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official setBytes Lob;setBytes(ILio/netty/buffer/ByteBuf;II)Lio/netty/buffer/ByteBuf;
        intermediary setBytes Lnet/minecraft/class_2540;setBytes(ILio/netty/buffer/ByteBuf;II)Lio/netty/buffer/ByteBuf;
        named setBytes Lnet/minecraft/network/PacketByteBuf;setBytes(ILio/netty/buffer/ByteBuf;II)Lio/netty/buffer/ByteBuf;
      • setBytes

        public ByteBuf setBytes​(int int2,
                                byte[] byte2)
        指定者:
        setBytes 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official setBytes Lob;setBytes(I[B)Lio/netty/buffer/ByteBuf;
        intermediary setBytes Lnet/minecraft/class_2540;setBytes(I[B)Lio/netty/buffer/ByteBuf;
        named setBytes Lnet/minecraft/network/PacketByteBuf;setBytes(I[B)Lio/netty/buffer/ByteBuf;
      • setBytes

        public ByteBuf setBytes​(int int2,
                                byte[] byte2,
                                int int3,
                                int int4)
        指定者:
        setBytes 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official setBytes Lob;setBytes(I[BII)Lio/netty/buffer/ByteBuf;
        intermediary setBytes Lnet/minecraft/class_2540;setBytes(I[BII)Lio/netty/buffer/ByteBuf;
        named setBytes Lnet/minecraft/network/PacketByteBuf;setBytes(I[BII)Lio/netty/buffer/ByteBuf;
      • setBytes

        public ByteBuf setBytes​(int int2,
                                ByteBuffer byteBuffer)
        指定者:
        setBytes 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official setBytes Lob;setBytes(ILjava/nio/ByteBuffer;)Lio/netty/buffer/ByteBuf;
        intermediary setBytes Lnet/minecraft/class_2540;setBytes(ILjava/nio/ByteBuffer;)Lio/netty/buffer/ByteBuf;
        named setBytes Lnet/minecraft/network/PacketByteBuf;setBytes(ILjava/nio/ByteBuffer;)Lio/netty/buffer/ByteBuf;
      • setBytes

        public int setBytes​(int int2,
                            InputStream inputStream,
                            int int3)
                     throws IOException
        指定者:
        setBytes 在类中 ByteBuf
        抛出:
        IOException
        Mappings:
        Namespace Name Mixin selector
        official setBytes Lob;setBytes(ILjava/io/InputStream;I)I
        intermediary setBytes Lnet/minecraft/class_2540;setBytes(ILjava/io/InputStream;I)I
        named setBytes Lnet/minecraft/network/PacketByteBuf;setBytes(ILjava/io/InputStream;I)I
      • setBytes

        public int setBytes​(int int2,
                            ScatteringByteChannel scatteringByteChannel,
                            int int3)
                     throws IOException
        指定者:
        setBytes 在类中 ByteBuf
        抛出:
        IOException
        Mappings:
        Namespace Name Mixin selector
        official setBytes Lob;setBytes(ILjava/nio/channels/ScatteringByteChannel;I)I
        intermediary setBytes Lnet/minecraft/class_2540;setBytes(ILjava/nio/channels/ScatteringByteChannel;I)I
        named setBytes Lnet/minecraft/network/PacketByteBuf;setBytes(ILjava/nio/channels/ScatteringByteChannel;I)I
      • setBytes

        public int setBytes​(int int2,
                            FileChannel fileChannel,
                            long long2,
                            int int3)
                     throws IOException
        指定者:
        setBytes 在类中 ByteBuf
        抛出:
        IOException
        Mappings:
        Namespace Name Mixin selector
        official setBytes Lob;setBytes(ILjava/nio/channels/FileChannel;JI)I
        intermediary setBytes Lnet/minecraft/class_2540;setBytes(ILjava/nio/channels/FileChannel;JI)I
        named setBytes Lnet/minecraft/network/PacketByteBuf;setBytes(ILjava/nio/channels/FileChannel;JI)I
      • setZero

        public ByteBuf setZero​(int int2,
                               int int3)
        指定者:
        setZero 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official setZero Lob;setZero(II)Lio/netty/buffer/ByteBuf;
        intermediary setZero Lnet/minecraft/class_2540;setZero(II)Lio/netty/buffer/ByteBuf;
        named setZero Lnet/minecraft/network/PacketByteBuf;setZero(II)Lio/netty/buffer/ByteBuf;
      • setCharSequence

        public int setCharSequence​(int int2,
                                   CharSequence charSequence,
                                   Charset charset)
        指定者:
        setCharSequence 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official setCharSequence Lob;setCharSequence(ILjava/lang/CharSequence;Ljava/nio/charset/Charset;)I
        intermediary setCharSequence Lnet/minecraft/class_2540;setCharSequence(ILjava/lang/CharSequence;Ljava/nio/charset/Charset;)I
        named setCharSequence Lnet/minecraft/network/PacketByteBuf;setCharSequence(ILjava/lang/CharSequence;Ljava/nio/charset/Charset;)I
      • readBoolean

        public boolean readBoolean()
        指定者:
        readBoolean 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official readBoolean Lob;readBoolean()Z
        intermediary readBoolean Lnet/minecraft/class_2540;readBoolean()Z
        named readBoolean Lnet/minecraft/network/PacketByteBuf;readBoolean()Z
      • readByte

        public byte readByte()
        指定者:
        readByte 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official readByte Lob;readByte()B
        intermediary readByte Lnet/minecraft/class_2540;readByte()B
        named readByte Lnet/minecraft/network/PacketByteBuf;readByte()B
      • readUnsignedByte

        public short readUnsignedByte()
        指定者:
        readUnsignedByte 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official readUnsignedByte Lob;readUnsignedByte()S
        intermediary readUnsignedByte Lnet/minecraft/class_2540;readUnsignedByte()S
        named readUnsignedByte Lnet/minecraft/network/PacketByteBuf;readUnsignedByte()S
      • readShort

        public short readShort()
        指定者:
        readShort 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official readShort Lob;readShort()S
        intermediary readShort Lnet/minecraft/class_2540;readShort()S
        named readShort Lnet/minecraft/network/PacketByteBuf;readShort()S
      • readShortLE

        public short readShortLE()
        指定者:
        readShortLE 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official readShortLE Lob;readShortLE()S
        intermediary readShortLE Lnet/minecraft/class_2540;readShortLE()S
        named readShortLE Lnet/minecraft/network/PacketByteBuf;readShortLE()S
      • readUnsignedShort

        public int readUnsignedShort()
        指定者:
        readUnsignedShort 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official readUnsignedShort Lob;readUnsignedShort()I
        intermediary readUnsignedShort Lnet/minecraft/class_2540;readUnsignedShort()I
        named readUnsignedShort Lnet/minecraft/network/PacketByteBuf;readUnsignedShort()I
      • readUnsignedShortLE

        public int readUnsignedShortLE()
        指定者:
        readUnsignedShortLE 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official readUnsignedShortLE Lob;readUnsignedShortLE()I
        intermediary readUnsignedShortLE Lnet/minecraft/class_2540;readUnsignedShortLE()I
        named readUnsignedShortLE Lnet/minecraft/network/PacketByteBuf;readUnsignedShortLE()I
      • readMedium

        public int readMedium()
        指定者:
        readMedium 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official readMedium Lob;readMedium()I
        intermediary readMedium Lnet/minecraft/class_2540;readMedium()I
        named readMedium Lnet/minecraft/network/PacketByteBuf;readMedium()I
      • readMediumLE

        public int readMediumLE()
        指定者:
        readMediumLE 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official readMediumLE Lob;readMediumLE()I
        intermediary readMediumLE Lnet/minecraft/class_2540;readMediumLE()I
        named readMediumLE Lnet/minecraft/network/PacketByteBuf;readMediumLE()I
      • readUnsignedMedium

        public int readUnsignedMedium()
        指定者:
        readUnsignedMedium 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official readUnsignedMedium Lob;readUnsignedMedium()I
        intermediary readUnsignedMedium Lnet/minecraft/class_2540;readUnsignedMedium()I
        named readUnsignedMedium Lnet/minecraft/network/PacketByteBuf;readUnsignedMedium()I
      • readUnsignedMediumLE

        public int readUnsignedMediumLE()
        指定者:
        readUnsignedMediumLE 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official readUnsignedMediumLE Lob;readUnsignedMediumLE()I
        intermediary readUnsignedMediumLE Lnet/minecraft/class_2540;readUnsignedMediumLE()I
        named readUnsignedMediumLE Lnet/minecraft/network/PacketByteBuf;readUnsignedMediumLE()I
      • readInt

        public int readInt()
        指定者:
        readInt 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official readInt Lob;readInt()I
        intermediary readInt Lnet/minecraft/class_2540;readInt()I
        named readInt Lnet/minecraft/network/PacketByteBuf;readInt()I
      • readIntLE

        public int readIntLE()
        指定者:
        readIntLE 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official readIntLE Lob;readIntLE()I
        intermediary readIntLE Lnet/minecraft/class_2540;readIntLE()I
        named readIntLE Lnet/minecraft/network/PacketByteBuf;readIntLE()I
      • readUnsignedInt

        public long readUnsignedInt()
        指定者:
        readUnsignedInt 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official readUnsignedInt Lob;readUnsignedInt()J
        intermediary readUnsignedInt Lnet/minecraft/class_2540;readUnsignedInt()J
        named readUnsignedInt Lnet/minecraft/network/PacketByteBuf;readUnsignedInt()J
      • readUnsignedIntLE

        public long readUnsignedIntLE()
        指定者:
        readUnsignedIntLE 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official readUnsignedIntLE Lob;readUnsignedIntLE()J
        intermediary readUnsignedIntLE Lnet/minecraft/class_2540;readUnsignedIntLE()J
        named readUnsignedIntLE Lnet/minecraft/network/PacketByteBuf;readUnsignedIntLE()J
      • readLong

        public long readLong()
        指定者:
        readLong 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official readLong Lob;readLong()J
        intermediary readLong Lnet/minecraft/class_2540;readLong()J
        named readLong Lnet/minecraft/network/PacketByteBuf;readLong()J
      • readLongLE

        public long readLongLE()
        指定者:
        readLongLE 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official readLongLE Lob;readLongLE()J
        intermediary readLongLE Lnet/minecraft/class_2540;readLongLE()J
        named readLongLE Lnet/minecraft/network/PacketByteBuf;readLongLE()J
      • readChar

        public char readChar()
        指定者:
        readChar 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official readChar Lob;readChar()C
        intermediary readChar Lnet/minecraft/class_2540;readChar()C
        named readChar Lnet/minecraft/network/PacketByteBuf;readChar()C
      • readFloat

        public float readFloat()
        指定者:
        readFloat 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official readFloat Lob;readFloat()F
        intermediary readFloat Lnet/minecraft/class_2540;readFloat()F
        named readFloat Lnet/minecraft/network/PacketByteBuf;readFloat()F
      • readDouble

        public double readDouble()
        指定者:
        readDouble 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official readDouble Lob;readDouble()D
        intermediary readDouble Lnet/minecraft/class_2540;readDouble()D
        named readDouble Lnet/minecraft/network/PacketByteBuf;readDouble()D
      • readBytes

        public ByteBuf readBytes​(int int2)
        指定者:
        readBytes 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official readBytes Lob;readBytes(I)Lio/netty/buffer/ByteBuf;
        intermediary readBytes Lnet/minecraft/class_2540;readBytes(I)Lio/netty/buffer/ByteBuf;
        named readBytes Lnet/minecraft/network/PacketByteBuf;readBytes(I)Lio/netty/buffer/ByteBuf;
      • readSlice

        public ByteBuf readSlice​(int int2)
        指定者:
        readSlice 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official readSlice Lob;readSlice(I)Lio/netty/buffer/ByteBuf;
        intermediary readSlice Lnet/minecraft/class_2540;readSlice(I)Lio/netty/buffer/ByteBuf;
        named readSlice Lnet/minecraft/network/PacketByteBuf;readSlice(I)Lio/netty/buffer/ByteBuf;
      • readRetainedSlice

        public ByteBuf readRetainedSlice​(int int2)
        指定者:
        readRetainedSlice 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official readRetainedSlice Lob;readRetainedSlice(I)Lio/netty/buffer/ByteBuf;
        intermediary readRetainedSlice Lnet/minecraft/class_2540;readRetainedSlice(I)Lio/netty/buffer/ByteBuf;
        named readRetainedSlice Lnet/minecraft/network/PacketByteBuf;readRetainedSlice(I)Lio/netty/buffer/ByteBuf;
      • readBytes

        public ByteBuf readBytes​(ByteBuf byteBuf)
        指定者:
        readBytes 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official readBytes Lob;readBytes(Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf;
        intermediary readBytes Lnet/minecraft/class_2540;readBytes(Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf;
        named readBytes Lnet/minecraft/network/PacketByteBuf;readBytes(Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf;
      • readBytes

        public ByteBuf readBytes​(ByteBuf byteBuf,
                                 int int2)
        指定者:
        readBytes 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official readBytes Lob;readBytes(Lio/netty/buffer/ByteBuf;I)Lio/netty/buffer/ByteBuf;
        intermediary readBytes Lnet/minecraft/class_2540;readBytes(Lio/netty/buffer/ByteBuf;I)Lio/netty/buffer/ByteBuf;
        named readBytes Lnet/minecraft/network/PacketByteBuf;readBytes(Lio/netty/buffer/ByteBuf;I)Lio/netty/buffer/ByteBuf;
      • readBytes

        public ByteBuf readBytes​(ByteBuf byteBuf,
                                 int int2,
                                 int int3)
        指定者:
        readBytes 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official readBytes Lob;readBytes(Lio/netty/buffer/ByteBuf;II)Lio/netty/buffer/ByteBuf;
        intermediary readBytes Lnet/minecraft/class_2540;readBytes(Lio/netty/buffer/ByteBuf;II)Lio/netty/buffer/ByteBuf;
        named readBytes Lnet/minecraft/network/PacketByteBuf;readBytes(Lio/netty/buffer/ByteBuf;II)Lio/netty/buffer/ByteBuf;
      • readBytes

        public ByteBuf readBytes​(byte[] byte2)
        指定者:
        readBytes 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official readBytes Lob;readBytes([B)Lio/netty/buffer/ByteBuf;
        intermediary readBytes Lnet/minecraft/class_2540;readBytes([B)Lio/netty/buffer/ByteBuf;
        named readBytes Lnet/minecraft/network/PacketByteBuf;readBytes([B)Lio/netty/buffer/ByteBuf;
      • readBytes

        public ByteBuf readBytes​(byte[] byte2,
                                 int int2,
                                 int int3)
        指定者:
        readBytes 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official readBytes Lob;readBytes([BII)Lio/netty/buffer/ByteBuf;
        intermediary readBytes Lnet/minecraft/class_2540;readBytes([BII)Lio/netty/buffer/ByteBuf;
        named readBytes Lnet/minecraft/network/PacketByteBuf;readBytes([BII)Lio/netty/buffer/ByteBuf;
      • readBytes

        public ByteBuf readBytes​(ByteBuffer byteBuffer)
        指定者:
        readBytes 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official readBytes Lob;readBytes(Ljava/nio/ByteBuffer;)Lio/netty/buffer/ByteBuf;
        intermediary readBytes Lnet/minecraft/class_2540;readBytes(Ljava/nio/ByteBuffer;)Lio/netty/buffer/ByteBuf;
        named readBytes Lnet/minecraft/network/PacketByteBuf;readBytes(Ljava/nio/ByteBuffer;)Lio/netty/buffer/ByteBuf;
      • readBytes

        public ByteBuf readBytes​(OutputStream outputStream,
                                 int int2)
                          throws IOException
        指定者:
        readBytes 在类中 ByteBuf
        抛出:
        IOException
        Mappings:
        Namespace Name Mixin selector
        official readBytes Lob;readBytes(Ljava/io/OutputStream;I)Lio/netty/buffer/ByteBuf;
        intermediary readBytes Lnet/minecraft/class_2540;readBytes(Ljava/io/OutputStream;I)Lio/netty/buffer/ByteBuf;
        named readBytes Lnet/minecraft/network/PacketByteBuf;readBytes(Ljava/io/OutputStream;I)Lio/netty/buffer/ByteBuf;
      • readBytes

        public int readBytes​(GatheringByteChannel gatheringByteChannel,
                             int int2)
                      throws IOException
        指定者:
        readBytes 在类中 ByteBuf
        抛出:
        IOException
        Mappings:
        Namespace Name Mixin selector
        official readBytes Lob;readBytes(Ljava/nio/channels/GatheringByteChannel;I)I
        intermediary readBytes Lnet/minecraft/class_2540;readBytes(Ljava/nio/channels/GatheringByteChannel;I)I
        named readBytes Lnet/minecraft/network/PacketByteBuf;readBytes(Ljava/nio/channels/GatheringByteChannel;I)I
      • readCharSequence

        public CharSequence readCharSequence​(int int2,
                                             Charset charset)
        指定者:
        readCharSequence 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official readCharSequence Lob;readCharSequence(ILjava/nio/charset/Charset;)Ljava/lang/CharSequence;
        intermediary readCharSequence Lnet/minecraft/class_2540;readCharSequence(ILjava/nio/charset/Charset;)Ljava/lang/CharSequence;
        named readCharSequence Lnet/minecraft/network/PacketByteBuf;readCharSequence(ILjava/nio/charset/Charset;)Ljava/lang/CharSequence;
      • readBytes

        public int readBytes​(FileChannel fileChannel,
                             long long2,
                             int int2)
                      throws IOException
        指定者:
        readBytes 在类中 ByteBuf
        抛出:
        IOException
        Mappings:
        Namespace Name Mixin selector
        official readBytes Lob;readBytes(Ljava/nio/channels/FileChannel;JI)I
        intermediary readBytes Lnet/minecraft/class_2540;readBytes(Ljava/nio/channels/FileChannel;JI)I
        named readBytes Lnet/minecraft/network/PacketByteBuf;readBytes(Ljava/nio/channels/FileChannel;JI)I
      • skipBytes

        public ByteBuf skipBytes​(int int2)
        指定者:
        skipBytes 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official skipBytes Lob;skipBytes(I)Lio/netty/buffer/ByteBuf;
        intermediary skipBytes Lnet/minecraft/class_2540;skipBytes(I)Lio/netty/buffer/ByteBuf;
        named skipBytes Lnet/minecraft/network/PacketByteBuf;skipBytes(I)Lio/netty/buffer/ByteBuf;
      • writeBoolean

        public ByteBuf writeBoolean​(boolean bool)
        指定者:
        writeBoolean 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official writeBoolean Lob;writeBoolean(Z)Lio/netty/buffer/ByteBuf;
        intermediary writeBoolean Lnet/minecraft/class_2540;writeBoolean(Z)Lio/netty/buffer/ByteBuf;
        named writeBoolean Lnet/minecraft/network/PacketByteBuf;writeBoolean(Z)Lio/netty/buffer/ByteBuf;
      • writeByte

        public ByteBuf writeByte​(int int2)
        指定者:
        writeByte 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official writeByte Lob;writeByte(I)Lio/netty/buffer/ByteBuf;
        intermediary writeByte Lnet/minecraft/class_2540;writeByte(I)Lio/netty/buffer/ByteBuf;
        named writeByte Lnet/minecraft/network/PacketByteBuf;writeByte(I)Lio/netty/buffer/ByteBuf;
      • writeShort

        public ByteBuf writeShort​(int int2)
        指定者:
        writeShort 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official writeShort Lob;writeShort(I)Lio/netty/buffer/ByteBuf;
        intermediary writeShort Lnet/minecraft/class_2540;writeShort(I)Lio/netty/buffer/ByteBuf;
        named writeShort Lnet/minecraft/network/PacketByteBuf;writeShort(I)Lio/netty/buffer/ByteBuf;
      • writeShortLE

        public ByteBuf writeShortLE​(int int2)
        指定者:
        writeShortLE 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official writeShortLE Lob;writeShortLE(I)Lio/netty/buffer/ByteBuf;
        intermediary writeShortLE Lnet/minecraft/class_2540;writeShortLE(I)Lio/netty/buffer/ByteBuf;
        named writeShortLE Lnet/minecraft/network/PacketByteBuf;writeShortLE(I)Lio/netty/buffer/ByteBuf;
      • writeMedium

        public ByteBuf writeMedium​(int int2)
        指定者:
        writeMedium 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official writeMedium Lob;writeMedium(I)Lio/netty/buffer/ByteBuf;
        intermediary writeMedium Lnet/minecraft/class_2540;writeMedium(I)Lio/netty/buffer/ByteBuf;
        named writeMedium Lnet/minecraft/network/PacketByteBuf;writeMedium(I)Lio/netty/buffer/ByteBuf;
      • writeMediumLE

        public ByteBuf writeMediumLE​(int int2)
        指定者:
        writeMediumLE 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official writeMediumLE Lob;writeMediumLE(I)Lio/netty/buffer/ByteBuf;
        intermediary writeMediumLE Lnet/minecraft/class_2540;writeMediumLE(I)Lio/netty/buffer/ByteBuf;
        named writeMediumLE Lnet/minecraft/network/PacketByteBuf;writeMediumLE(I)Lio/netty/buffer/ByteBuf;
      • writeInt

        public ByteBuf writeInt​(int int2)
        指定者:
        writeInt 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official writeInt Lob;writeInt(I)Lio/netty/buffer/ByteBuf;
        intermediary writeInt Lnet/minecraft/class_2540;writeInt(I)Lio/netty/buffer/ByteBuf;
        named writeInt Lnet/minecraft/network/PacketByteBuf;writeInt(I)Lio/netty/buffer/ByteBuf;
      • writeIntLE

        public ByteBuf writeIntLE​(int int2)
        指定者:
        writeIntLE 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official writeIntLE Lob;writeIntLE(I)Lio/netty/buffer/ByteBuf;
        intermediary writeIntLE Lnet/minecraft/class_2540;writeIntLE(I)Lio/netty/buffer/ByteBuf;
        named writeIntLE Lnet/minecraft/network/PacketByteBuf;writeIntLE(I)Lio/netty/buffer/ByteBuf;
      • writeLong

        public ByteBuf writeLong​(long long2)
        指定者:
        writeLong 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official writeLong Lob;writeLong(J)Lio/netty/buffer/ByteBuf;
        intermediary writeLong Lnet/minecraft/class_2540;writeLong(J)Lio/netty/buffer/ByteBuf;
        named writeLong Lnet/minecraft/network/PacketByteBuf;writeLong(J)Lio/netty/buffer/ByteBuf;
      • writeLongLE

        public ByteBuf writeLongLE​(long long2)
        指定者:
        writeLongLE 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official writeLongLE Lob;writeLongLE(J)Lio/netty/buffer/ByteBuf;
        intermediary writeLongLE Lnet/minecraft/class_2540;writeLongLE(J)Lio/netty/buffer/ByteBuf;
        named writeLongLE Lnet/minecraft/network/PacketByteBuf;writeLongLE(J)Lio/netty/buffer/ByteBuf;
      • writeChar

        public ByteBuf writeChar​(int int2)
        指定者:
        writeChar 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official writeChar Lob;writeChar(I)Lio/netty/buffer/ByteBuf;
        intermediary writeChar Lnet/minecraft/class_2540;writeChar(I)Lio/netty/buffer/ByteBuf;
        named writeChar Lnet/minecraft/network/PacketByteBuf;writeChar(I)Lio/netty/buffer/ByteBuf;
      • writeFloat

        public ByteBuf writeFloat​(float float2)
        指定者:
        writeFloat 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official writeFloat Lob;writeFloat(F)Lio/netty/buffer/ByteBuf;
        intermediary writeFloat Lnet/minecraft/class_2540;writeFloat(F)Lio/netty/buffer/ByteBuf;
        named writeFloat Lnet/minecraft/network/PacketByteBuf;writeFloat(F)Lio/netty/buffer/ByteBuf;
      • writeDouble

        public ByteBuf writeDouble​(double double2)
        指定者:
        writeDouble 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official writeDouble Lob;writeDouble(D)Lio/netty/buffer/ByteBuf;
        intermediary writeDouble Lnet/minecraft/class_2540;writeDouble(D)Lio/netty/buffer/ByteBuf;
        named writeDouble Lnet/minecraft/network/PacketByteBuf;writeDouble(D)Lio/netty/buffer/ByteBuf;
      • writeBytes

        public ByteBuf writeBytes​(ByteBuf byteBuf)
        指定者:
        writeBytes 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official writeBytes Lob;writeBytes(Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf;
        intermediary writeBytes Lnet/minecraft/class_2540;writeBytes(Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf;
        named writeBytes Lnet/minecraft/network/PacketByteBuf;writeBytes(Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf;
      • writeBytes

        public ByteBuf writeBytes​(ByteBuf byteBuf,
                                  int int2)
        指定者:
        writeBytes 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official writeBytes Lob;writeBytes(Lio/netty/buffer/ByteBuf;I)Lio/netty/buffer/ByteBuf;
        intermediary writeBytes Lnet/minecraft/class_2540;writeBytes(Lio/netty/buffer/ByteBuf;I)Lio/netty/buffer/ByteBuf;
        named writeBytes Lnet/minecraft/network/PacketByteBuf;writeBytes(Lio/netty/buffer/ByteBuf;I)Lio/netty/buffer/ByteBuf;
      • writeBytes

        public ByteBuf writeBytes​(ByteBuf byteBuf,
                                  int int2,
                                  int int3)
        指定者:
        writeBytes 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official writeBytes Lob;writeBytes(Lio/netty/buffer/ByteBuf;II)Lio/netty/buffer/ByteBuf;
        intermediary writeBytes Lnet/minecraft/class_2540;writeBytes(Lio/netty/buffer/ByteBuf;II)Lio/netty/buffer/ByteBuf;
        named writeBytes Lnet/minecraft/network/PacketByteBuf;writeBytes(Lio/netty/buffer/ByteBuf;II)Lio/netty/buffer/ByteBuf;
      • writeBytes

        public ByteBuf writeBytes​(byte[] byte2)
        指定者:
        writeBytes 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official writeBytes Lob;writeBytes([B)Lio/netty/buffer/ByteBuf;
        intermediary writeBytes Lnet/minecraft/class_2540;writeBytes([B)Lio/netty/buffer/ByteBuf;
        named writeBytes Lnet/minecraft/network/PacketByteBuf;writeBytes([B)Lio/netty/buffer/ByteBuf;
      • writeBytes

        public ByteBuf writeBytes​(byte[] byte2,
                                  int int2,
                                  int int3)
        指定者:
        writeBytes 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official writeBytes Lob;writeBytes([BII)Lio/netty/buffer/ByteBuf;
        intermediary writeBytes Lnet/minecraft/class_2540;writeBytes([BII)Lio/netty/buffer/ByteBuf;
        named writeBytes Lnet/minecraft/network/PacketByteBuf;writeBytes([BII)Lio/netty/buffer/ByteBuf;
      • writeBytes

        public ByteBuf writeBytes​(ByteBuffer byteBuffer)
        指定者:
        writeBytes 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official writeBytes Lob;writeBytes(Ljava/nio/ByteBuffer;)Lio/netty/buffer/ByteBuf;
        intermediary writeBytes Lnet/minecraft/class_2540;writeBytes(Ljava/nio/ByteBuffer;)Lio/netty/buffer/ByteBuf;
        named writeBytes Lnet/minecraft/network/PacketByteBuf;writeBytes(Ljava/nio/ByteBuffer;)Lio/netty/buffer/ByteBuf;
      • writeBytes

        public int writeBytes​(InputStream inputStream,
                              int int2)
                       throws IOException
        指定者:
        writeBytes 在类中 ByteBuf
        抛出:
        IOException
        Mappings:
        Namespace Name Mixin selector
        official writeBytes Lob;writeBytes(Ljava/io/InputStream;I)I
        intermediary writeBytes Lnet/minecraft/class_2540;writeBytes(Ljava/io/InputStream;I)I
        named writeBytes Lnet/minecraft/network/PacketByteBuf;writeBytes(Ljava/io/InputStream;I)I
      • writeBytes

        public int writeBytes​(ScatteringByteChannel scatteringByteChannel,
                              int int2)
                       throws IOException
        指定者:
        writeBytes 在类中 ByteBuf
        抛出:
        IOException
        Mappings:
        Namespace Name Mixin selector
        official writeBytes Lob;writeBytes(Ljava/nio/channels/ScatteringByteChannel;I)I
        intermediary writeBytes Lnet/minecraft/class_2540;writeBytes(Ljava/nio/channels/ScatteringByteChannel;I)I
        named writeBytes Lnet/minecraft/network/PacketByteBuf;writeBytes(Ljava/nio/channels/ScatteringByteChannel;I)I
      • writeBytes

        public int writeBytes​(FileChannel fileChannel,
                              long long2,
                              int int2)
                       throws IOException
        指定者:
        writeBytes 在类中 ByteBuf
        抛出:
        IOException
        Mappings:
        Namespace Name Mixin selector
        official writeBytes Lob;writeBytes(Ljava/nio/channels/FileChannel;JI)I
        intermediary writeBytes Lnet/minecraft/class_2540;writeBytes(Ljava/nio/channels/FileChannel;JI)I
        named writeBytes Lnet/minecraft/network/PacketByteBuf;writeBytes(Ljava/nio/channels/FileChannel;JI)I
      • writeZero

        public ByteBuf writeZero​(int int2)
        指定者:
        writeZero 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official writeZero Lob;writeZero(I)Lio/netty/buffer/ByteBuf;
        intermediary writeZero Lnet/minecraft/class_2540;writeZero(I)Lio/netty/buffer/ByteBuf;
        named writeZero Lnet/minecraft/network/PacketByteBuf;writeZero(I)Lio/netty/buffer/ByteBuf;
      • writeCharSequence

        public int writeCharSequence​(CharSequence charSequence,
                                     Charset charset)
        指定者:
        writeCharSequence 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official writeCharSequence Lob;writeCharSequence(Ljava/lang/CharSequence;Ljava/nio/charset/Charset;)I
        intermediary writeCharSequence Lnet/minecraft/class_2540;writeCharSequence(Ljava/lang/CharSequence;Ljava/nio/charset/Charset;)I
        named writeCharSequence Lnet/minecraft/network/PacketByteBuf;writeCharSequence(Ljava/lang/CharSequence;Ljava/nio/charset/Charset;)I
      • indexOf

        public int indexOf​(int int2,
                           int int3,
                           byte byte2)
        指定者:
        indexOf 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official indexOf Lob;indexOf(IIB)I
        intermediary indexOf Lnet/minecraft/class_2540;indexOf(IIB)I
        named indexOf Lnet/minecraft/network/PacketByteBuf;indexOf(IIB)I
      • bytesBefore

        public int bytesBefore​(byte byte2)
        指定者:
        bytesBefore 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official bytesBefore Lob;bytesBefore(B)I
        intermediary bytesBefore Lnet/minecraft/class_2540;bytesBefore(B)I
        named bytesBefore Lnet/minecraft/network/PacketByteBuf;bytesBefore(B)I
      • bytesBefore

        public int bytesBefore​(int int2,
                               byte byte2)
        指定者:
        bytesBefore 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official bytesBefore Lob;bytesBefore(IB)I
        intermediary bytesBefore Lnet/minecraft/class_2540;bytesBefore(IB)I
        named bytesBefore Lnet/minecraft/network/PacketByteBuf;bytesBefore(IB)I
      • bytesBefore

        public int bytesBefore​(int int2,
                               int int3,
                               byte byte2)
        指定者:
        bytesBefore 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official bytesBefore Lob;bytesBefore(IIB)I
        intermediary bytesBefore Lnet/minecraft/class_2540;bytesBefore(IIB)I
        named bytesBefore Lnet/minecraft/network/PacketByteBuf;bytesBefore(IIB)I
      • forEachByte

        public int forEachByte​(ByteProcessor byteProcessor)
        指定者:
        forEachByte 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official forEachByte Lob;forEachByte(Lio/netty/util/ByteProcessor;)I
        intermediary forEachByte Lnet/minecraft/class_2540;forEachByte(Lio/netty/util/ByteProcessor;)I
        named forEachByte Lnet/minecraft/network/PacketByteBuf;forEachByte(Lio/netty/util/ByteProcessor;)I
      • forEachByte

        public int forEachByte​(int int2,
                               int int3,
                               ByteProcessor byteProcessor)
        指定者:
        forEachByte 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official forEachByte Lob;forEachByte(IILio/netty/util/ByteProcessor;)I
        intermediary forEachByte Lnet/minecraft/class_2540;forEachByte(IILio/netty/util/ByteProcessor;)I
        named forEachByte Lnet/minecraft/network/PacketByteBuf;forEachByte(IILio/netty/util/ByteProcessor;)I
      • forEachByteDesc

        public int forEachByteDesc​(ByteProcessor byteProcessor)
        指定者:
        forEachByteDesc 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official forEachByteDesc Lob;forEachByteDesc(Lio/netty/util/ByteProcessor;)I
        intermediary forEachByteDesc Lnet/minecraft/class_2540;forEachByteDesc(Lio/netty/util/ByteProcessor;)I
        named forEachByteDesc Lnet/minecraft/network/PacketByteBuf;forEachByteDesc(Lio/netty/util/ByteProcessor;)I
      • forEachByteDesc

        public int forEachByteDesc​(int int2,
                                   int int3,
                                   ByteProcessor byteProcessor)
        指定者:
        forEachByteDesc 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official forEachByteDesc Lob;forEachByteDesc(IILio/netty/util/ByteProcessor;)I
        intermediary forEachByteDesc Lnet/minecraft/class_2540;forEachByteDesc(IILio/netty/util/ByteProcessor;)I
        named forEachByteDesc Lnet/minecraft/network/PacketByteBuf;forEachByteDesc(IILio/netty/util/ByteProcessor;)I
      • copy

        public ByteBuf copy()
        指定者:
        copy 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official copy Lob;copy()Lio/netty/buffer/ByteBuf;
        intermediary copy Lnet/minecraft/class_2540;copy()Lio/netty/buffer/ByteBuf;
        named copy Lnet/minecraft/network/PacketByteBuf;copy()Lio/netty/buffer/ByteBuf;
      • copy

        public ByteBuf copy​(int int2,
                            int int3)
        指定者:
        copy 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official copy Lob;copy(II)Lio/netty/buffer/ByteBuf;
        intermediary copy Lnet/minecraft/class_2540;copy(II)Lio/netty/buffer/ByteBuf;
        named copy Lnet/minecraft/network/PacketByteBuf;copy(II)Lio/netty/buffer/ByteBuf;
      • slice

        public ByteBuf slice()
        指定者:
        slice 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official slice Lob;slice()Lio/netty/buffer/ByteBuf;
        intermediary slice Lnet/minecraft/class_2540;slice()Lio/netty/buffer/ByteBuf;
        named slice Lnet/minecraft/network/PacketByteBuf;slice()Lio/netty/buffer/ByteBuf;
      • retainedSlice

        public ByteBuf retainedSlice()
        指定者:
        retainedSlice 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official retainedSlice Lob;retainedSlice()Lio/netty/buffer/ByteBuf;
        intermediary retainedSlice Lnet/minecraft/class_2540;retainedSlice()Lio/netty/buffer/ByteBuf;
        named retainedSlice Lnet/minecraft/network/PacketByteBuf;retainedSlice()Lio/netty/buffer/ByteBuf;
      • slice

        public ByteBuf slice​(int int2,
                             int int3)
        指定者:
        slice 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official slice Lob;slice(II)Lio/netty/buffer/ByteBuf;
        intermediary slice Lnet/minecraft/class_2540;slice(II)Lio/netty/buffer/ByteBuf;
        named slice Lnet/minecraft/network/PacketByteBuf;slice(II)Lio/netty/buffer/ByteBuf;
      • retainedSlice

        public ByteBuf retainedSlice​(int int2,
                                     int int3)
        指定者:
        retainedSlice 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official retainedSlice Lob;retainedSlice(II)Lio/netty/buffer/ByteBuf;
        intermediary retainedSlice Lnet/minecraft/class_2540;retainedSlice(II)Lio/netty/buffer/ByteBuf;
        named retainedSlice Lnet/minecraft/network/PacketByteBuf;retainedSlice(II)Lio/netty/buffer/ByteBuf;
      • duplicate

        public ByteBuf duplicate()
        指定者:
        duplicate 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official duplicate Lob;duplicate()Lio/netty/buffer/ByteBuf;
        intermediary duplicate Lnet/minecraft/class_2540;duplicate()Lio/netty/buffer/ByteBuf;
        named duplicate Lnet/minecraft/network/PacketByteBuf;duplicate()Lio/netty/buffer/ByteBuf;
      • retainedDuplicate

        public ByteBuf retainedDuplicate()
        指定者:
        retainedDuplicate 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official retainedDuplicate Lob;retainedDuplicate()Lio/netty/buffer/ByteBuf;
        intermediary retainedDuplicate Lnet/minecraft/class_2540;retainedDuplicate()Lio/netty/buffer/ByteBuf;
        named retainedDuplicate Lnet/minecraft/network/PacketByteBuf;retainedDuplicate()Lio/netty/buffer/ByteBuf;
      • nioBufferCount

        public int nioBufferCount()
        指定者:
        nioBufferCount 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official nioBufferCount Lob;nioBufferCount()I
        intermediary nioBufferCount Lnet/minecraft/class_2540;nioBufferCount()I
        named nioBufferCount Lnet/minecraft/network/PacketByteBuf;nioBufferCount()I
      • nioBuffer

        public ByteBuffer nioBuffer()
        指定者:
        nioBuffer 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official nioBuffer Lob;nioBuffer()Ljava/nio/ByteBuffer;
        intermediary nioBuffer Lnet/minecraft/class_2540;nioBuffer()Ljava/nio/ByteBuffer;
        named nioBuffer Lnet/minecraft/network/PacketByteBuf;nioBuffer()Ljava/nio/ByteBuffer;
      • nioBuffer

        public ByteBuffer nioBuffer​(int int2,
                                    int int3)
        指定者:
        nioBuffer 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official nioBuffer Lob;nioBuffer(II)Ljava/nio/ByteBuffer;
        intermediary nioBuffer Lnet/minecraft/class_2540;nioBuffer(II)Ljava/nio/ByteBuffer;
        named nioBuffer Lnet/minecraft/network/PacketByteBuf;nioBuffer(II)Ljava/nio/ByteBuffer;
      • internalNioBuffer

        public ByteBuffer internalNioBuffer​(int int2,
                                            int int3)
        指定者:
        internalNioBuffer 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official internalNioBuffer Lob;internalNioBuffer(II)Ljava/nio/ByteBuffer;
        intermediary internalNioBuffer Lnet/minecraft/class_2540;internalNioBuffer(II)Ljava/nio/ByteBuffer;
        named internalNioBuffer Lnet/minecraft/network/PacketByteBuf;internalNioBuffer(II)Ljava/nio/ByteBuffer;
      • nioBuffers

        public ByteBuffer[] nioBuffers()
        指定者:
        nioBuffers 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official nioBuffers Lob;nioBuffers()[Ljava/nio/ByteBuffer;
        intermediary nioBuffers Lnet/minecraft/class_2540;nioBuffers()[Ljava/nio/ByteBuffer;
        named nioBuffers Lnet/minecraft/network/PacketByteBuf;nioBuffers()[Ljava/nio/ByteBuffer;
      • nioBuffers

        public ByteBuffer[] nioBuffers​(int int2,
                                       int int3)
        指定者:
        nioBuffers 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official nioBuffers Lob;nioBuffers(II)[Ljava/nio/ByteBuffer;
        intermediary nioBuffers Lnet/minecraft/class_2540;nioBuffers(II)[Ljava/nio/ByteBuffer;
        named nioBuffers Lnet/minecraft/network/PacketByteBuf;nioBuffers(II)[Ljava/nio/ByteBuffer;
      • hasArray

        public boolean hasArray()
        指定者:
        hasArray 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official hasArray Lob;hasArray()Z
        intermediary hasArray Lnet/minecraft/class_2540;hasArray()Z
        named hasArray Lnet/minecraft/network/PacketByteBuf;hasArray()Z
      • array

        public byte[] array()
        指定者:
        array 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official array Lob;array()[B
        intermediary array Lnet/minecraft/class_2540;array()[B
        named array Lnet/minecraft/network/PacketByteBuf;array()[B
      • arrayOffset

        public int arrayOffset()
        指定者:
        arrayOffset 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official arrayOffset Lob;arrayOffset()I
        intermediary arrayOffset Lnet/minecraft/class_2540;arrayOffset()I
        named arrayOffset Lnet/minecraft/network/PacketByteBuf;arrayOffset()I
      • hasMemoryAddress

        public boolean hasMemoryAddress()
        指定者:
        hasMemoryAddress 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official hasMemoryAddress Lob;hasMemoryAddress()Z
        intermediary hasMemoryAddress Lnet/minecraft/class_2540;hasMemoryAddress()Z
        named hasMemoryAddress Lnet/minecraft/network/PacketByteBuf;hasMemoryAddress()Z
      • memoryAddress

        public long memoryAddress()
        指定者:
        memoryAddress 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official memoryAddress Lob;memoryAddress()J
        intermediary memoryAddress Lnet/minecraft/class_2540;memoryAddress()J
        named memoryAddress Lnet/minecraft/network/PacketByteBuf;memoryAddress()J
      • toString

        public String toString​(Charset charset)
        指定者:
        toString 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official toString Lob;toString(Ljava/nio/charset/Charset;)Ljava/lang/String;
        intermediary toString Lnet/minecraft/class_2540;toString(Ljava/nio/charset/Charset;)Ljava/lang/String;
        named toString Lnet/minecraft/network/PacketByteBuf;toString(Ljava/nio/charset/Charset;)Ljava/lang/String;
      • toString

        public String toString​(int int2,
                               int int3,
                               Charset charset)
        指定者:
        toString 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official toString Lob;toString(IILjava/nio/charset/Charset;)Ljava/lang/String;
        intermediary toString Lnet/minecraft/class_2540;toString(IILjava/nio/charset/Charset;)Ljava/lang/String;
        named toString Lnet/minecraft/network/PacketByteBuf;toString(IILjava/nio/charset/Charset;)Ljava/lang/String;
      • hashCode

        public int hashCode()
        指定者:
        hashCode 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official hashCode Lob;hashCode()I
        intermediary hashCode Lnet/minecraft/class_2540;hashCode()I
        named hashCode Lnet/minecraft/network/PacketByteBuf;hashCode()I
      • equals

        public boolean equals​(Object object)
        指定者:
        equals 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official equals Lob;equals(Ljava/lang/Object;)Z
        intermediary equals Lnet/minecraft/class_2540;equals(Ljava/lang/Object;)Z
        named equals Lnet/minecraft/network/PacketByteBuf;equals(Ljava/lang/Object;)Z
      • compareTo

        public int compareTo​(ByteBuf byteBuf)
        指定者:
        compareTo 在接口中 Comparable<ByteBuf>
        指定者:
        compareTo 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official compareTo Lob;compareTo(Lio/netty/buffer/ByteBuf;)I
        intermediary compareTo Lnet/minecraft/class_2540;compareTo(Lio/netty/buffer/ByteBuf;)I
        named compareTo Lnet/minecraft/network/PacketByteBuf;compareTo(Lio/netty/buffer/ByteBuf;)I
      • toString

        public String toString()
        指定者:
        toString 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official toString Lob;toString()Ljava/lang/String;
        intermediary toString Lnet/minecraft/class_2540;toString()Ljava/lang/String;
        named toString Lnet/minecraft/network/PacketByteBuf;toString()Ljava/lang/String;
      • retain

        public ByteBuf retain​(int int2)
        指定者:
        retain 在接口中 ReferenceCounted
        指定者:
        retain 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official retain Lob;retain(I)Lio/netty/buffer/ByteBuf;
        intermediary retain Lnet/minecraft/class_2540;retain(I)Lio/netty/buffer/ByteBuf;
        named retain Lnet/minecraft/network/PacketByteBuf;retain(I)Lio/netty/buffer/ByteBuf;
      • retain

        public ByteBuf retain()
        指定者:
        retain 在接口中 ReferenceCounted
        指定者:
        retain 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official retain Lob;retain()Lio/netty/buffer/ByteBuf;
        intermediary retain Lnet/minecraft/class_2540;retain()Lio/netty/buffer/ByteBuf;
        named retain Lnet/minecraft/network/PacketByteBuf;retain()Lio/netty/buffer/ByteBuf;
      • touch

        public ByteBuf touch()
        指定者:
        touch 在接口中 ReferenceCounted
        指定者:
        touch 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official touch Lob;touch()Lio/netty/buffer/ByteBuf;
        intermediary touch Lnet/minecraft/class_2540;touch()Lio/netty/buffer/ByteBuf;
        named touch Lnet/minecraft/network/PacketByteBuf;touch()Lio/netty/buffer/ByteBuf;
      • touch

        public ByteBuf touch​(Object object)
        指定者:
        touch 在接口中 ReferenceCounted
        指定者:
        touch 在类中 ByteBuf
        Mappings:
        Namespace Name Mixin selector
        official touch Lob;touch(Ljava/lang/Object;)Lio/netty/buffer/ByteBuf;
        intermediary touch Lnet/minecraft/class_2540;touch(Ljava/lang/Object;)Lio/netty/buffer/ByteBuf;
        named touch Lnet/minecraft/network/PacketByteBuf;touch(Ljava/lang/Object;)Lio/netty/buffer/ByteBuf;
      • refCnt

        public int refCnt()
        Mappings:
        Namespace Name Mixin selector
        official refCnt Lob;refCnt()I
        intermediary refCnt Lnet/minecraft/class_2540;refCnt()I
        named refCnt Lnet/minecraft/network/PacketByteBuf;refCnt()I
      • release

        public boolean release()
        Mappings:
        Namespace Name Mixin selector
        official release Lob;release()Z
        intermediary release Lnet/minecraft/class_2540;release()Z
        named release Lnet/minecraft/network/PacketByteBuf;release()Z
      • release

        public boolean release​(int int2)
        Mappings:
        Namespace Name Mixin selector
        official release Lob;release(I)Z
        intermediary release Lnet/minecraft/class_2540;release(I)Z
        named release Lnet/minecraft/network/PacketByteBuf;release(I)Z