Package net.minecraft.network
Class PacketByteBuf
java.lang.Object
io.netty.buffer.ByteBuf
net.minecraft.network.PacketByteBuf
- All Implemented Interfaces:
ReferenceCounted,Comparable<ByteBuf>
public class PacketByteBuf extends ByteBuf
A packet byte buf is a specialized byte buf with utility methods adapted
to Minecraft's protocol. It has serialization and deserialization of
custom objects.
All read and write methods throw IndexOutOfBoundsException if there is not enough bytes to be read or
not enough space to write.
- Mappings:
Namespace Name official nxintermediary net/minecraft/class_2540named net/minecraft/network/PacketByteBuf
-
Field Summary
-
Constructor Summary
Constructors Constructor Description PacketByteBuf(ByteBuf parent)Creates a packet byte buf that delegates its operations to theparentbuf. -
Method Summary
Modifier and Type Method Description ByteBufAllocatoralloc()byte[]array()intarrayOffset()ByteBufasReadOnly()intbytesBefore(byte byte2)intbytesBefore(int int2, byte byte2)intbytesBefore(int int2, int int3, byte byte2)intcapacity()ByteBufcapacity(int int2)ByteBufclear()intcompareTo(ByteBuf byteBuf)ByteBufcopy()ByteBufcopy(int int2, int int3)<T> Tdecode(com.mojang.serialization.Codec<T> codec)Reads an object from this buf as a compound NBT with the given codec.ByteBufdiscardReadBytes()ByteBufdiscardSomeReadBytes()ByteBufduplicate()<T> voidencode(com.mojang.serialization.Codec<T> codec, T object)Writes an object to this buf as a compound NBT with the given codec.ByteBufensureWritable(int int2)intensureWritable(int int2, boolean bool)booleanequals(Object object)intforEachByte(int int2, int int3, ByteProcessor byteProcessor)intforEachByte(ByteProcessor byteProcessor)intforEachByteDesc(int int2, int int3, ByteProcessor byteProcessor)intforEachByteDesc(ByteProcessor byteProcessor)voidforEachInCollection(Consumer<PacketByteBuf> consumer)Iterates a collection from this buf.booleangetBoolean(int int2)bytegetByte(int int2)ByteBufgetBytes(int int2, byte[] byte2)ByteBufgetBytes(int int2, byte[] byte2, int int3, int int4)ByteBufgetBytes(int int2, ByteBuf byteBuf)ByteBufgetBytes(int int2, ByteBuf byteBuf, int int3)ByteBufgetBytes(int int2, ByteBuf byteBuf, int int3, int int4)ByteBufgetBytes(int int2, OutputStream outputStream, int int3)ByteBufgetBytes(int int2, ByteBuffer byteBuffer)intgetBytes(int int2, FileChannel fileChannel, long long2, int int3)intgetBytes(int int2, GatheringByteChannel gatheringByteChannel, int int3)chargetChar(int int2)CharSequencegetCharSequence(int int2, int int3, Charset charset)doublegetDouble(int int2)floatgetFloat(int int2)intgetInt(int int2)intgetIntLE(int int2)longgetLong(int int2)longgetLongLE(int int2)intgetMedium(int int2)intgetMediumLE(int int2)shortgetShort(int int2)shortgetShortLE(int int2)shortgetUnsignedByte(int int2)longgetUnsignedInt(int int2)longgetUnsignedIntLE(int int2)intgetUnsignedMedium(int int2)intgetUnsignedMediumLE(int int2)intgetUnsignedShort(int int2)intgetUnsignedShortLE(int int2)static intgetVarIntSizeBytes(int value)Returns the number of bytes needed to encodevalueas a var int.booleanhasArray()inthashCode()booleanhasMemoryAddress()intindexOf(int int2, int int3, byte byte2)ByteBufferinternalNioBuffer(int int2, int int3)booleanisDirect()booleanisReadable()booleanisReadable(int int2)booleanisReadOnly()booleanisWritable()booleanisWritable(int int2)ByteBufmarkReaderIndex()ByteBufmarkWriterIndex()intmaxCapacity()intmaxWritableBytes()longmemoryAddress()ByteBuffernioBuffer()ByteBuffernioBuffer(int int2, int int3)intnioBufferCount()ByteBuffer[]nioBuffers()ByteBuffer[]nioBuffers(int int2, int int3)ByteOrderorder()ByteBuforder(ByteOrder byteOrder)intreadableBytes()BitSetreadBitSet()Reads a bit set from this buf.BlockHitResultreadBlockHitResult()Reads a block hit result from this buf.BlockPosreadBlockPos()Reads a block position from this buf.booleanreadBoolean()bytereadByte()byte[]readByteArray()Reads an array of primitive bytes from this buf.byte[]readByteArray(int maxSize)Reads an array of primitive bytes from this buf.ByteBufreadBytes(byte[] byte2)ByteBufreadBytes(byte[] byte2, int int2, int int3)ByteBufreadBytes(int int2)ByteBufreadBytes(ByteBuf byteBuf)ByteBufreadBytes(ByteBuf byteBuf, int int2)ByteBufreadBytes(ByteBuf byteBuf, int int2, int int3)ByteBufreadBytes(OutputStream outputStream, int int2)ByteBufreadBytes(ByteBuffer byteBuffer)intreadBytes(FileChannel fileChannel, long long2, int int2)intreadBytes(GatheringByteChannel gatheringByteChannel, int int2)charreadChar()CharSequencereadCharSequence(int int2, Charset charset)ChunkSectionPosreadChunkSectionPos()Reads a chunk section position from this buf.<T, C extends Collection<T>>
CreadCollection(IntFunction<C> collectionFactory, Function<PacketByteBuf,T> entryParser)Reads a collection from this buf.@Nullable CompoundTagreadCompoundTag()Reads an NBT compound from this buf.@Nullable CompoundTagreadCompoundTag(NbtTagSizeTracker sizeTracker)Reads an NBT compound from this buf.DatereadDate()Reads a date from this buf.doublereadDouble()<T extends Enum<T>>
TreadEnumConstant(Class<T> enumClass)Reads an enum constant from this buf.intreaderIndex()ByteBufreaderIndex(int int2)floatreadFloat()IdentifierreadIdentifier()Reads an identifier from this buf.intreadInt()int[]readIntArray()Reads an array of primitive ints from this buf.int[]readIntArray(int maxSize)Reads an array of primitive ints from this buf.intreadIntLE()IntListreadIntList()Reads a list of primitive ints from this buf.ItemStackreadItemStack()Reads an item stack from this buf.<T> List<T>readList(Function<PacketByteBuf,T> entryParser)Reads a collection from this buf as an array list.longreadLong()long[]readLongArray()Reads an array of primitive longs from this buf.long[]readLongArray(@org.jetbrains.annotations.Nullable long[] toArray)Reads an array of primitive longs from this buf.long[]readLongArray(@org.jetbrains.annotations.Nullable long[] toArray, int maxSize)Reads an array of primitive longs from this buf.longreadLongLE()<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, V, M extends Map<K, V>>
MreadMap(IntFunction<M> mapFactory, Function<PacketByteBuf,K> keyParser, Function<PacketByteBuf,V> valueParser)Reads a map from this buf.intreadMedium()intreadMediumLE()ByteBufreadRetainedSlice(int int2)shortreadShort()shortreadShortLE()ByteBufreadSlice(int int2)StringreadString()Reads a string from this buf.StringreadString(int maxLength)Reads a string from this buf.TextreadText()Reads a text from this buf.@Nullable CompoundTagreadUnlimitedCompoundTag()Reads an NBT compound from this buf.shortreadUnsignedByte()longreadUnsignedInt()longreadUnsignedIntLE()intreadUnsignedMedium()intreadUnsignedMediumLE()intreadUnsignedShort()intreadUnsignedShortLE()UUIDreadUuid()Reads a UUID (universally unique identifier) from this buf.intreadVarInt()Reads a single var int from this buf.longreadVarLong()Reads a single var long from this buf.intrefCnt()booleanrelease()booleanrelease(int int2)ByteBufresetReaderIndex()ByteBufresetWriterIndex()ByteBufretain()ByteBufretain(int int2)ByteBufretainedDuplicate()ByteBufretainedSlice()ByteBufretainedSlice(int int2, int int3)ByteBufsetBoolean(int int2, boolean bool)ByteBufsetByte(int int2, int int3)ByteBufsetBytes(int int2, byte[] byte2)ByteBufsetBytes(int int2, byte[] byte2, int int3, int int4)ByteBufsetBytes(int int2, ByteBuf byteBuf)ByteBufsetBytes(int int2, ByteBuf byteBuf, int int3)ByteBufsetBytes(int int2, ByteBuf byteBuf, int int3, int int4)intsetBytes(int int2, InputStream inputStream, int int3)ByteBufsetBytes(int int2, ByteBuffer byteBuffer)intsetBytes(int int2, FileChannel fileChannel, long long2, int int3)intsetBytes(int int2, ScatteringByteChannel scatteringByteChannel, int int3)ByteBufsetChar(int int2, int int3)intsetCharSequence(int int2, CharSequence charSequence, Charset charset)ByteBufsetDouble(int int2, double double2)ByteBufsetFloat(int int2, float float2)ByteBufsetIndex(int int2, int int3)ByteBufsetInt(int int2, int int3)ByteBufsetIntLE(int int2, int int3)ByteBufsetLong(int int2, long long2)ByteBufsetLongLE(int int2, long long2)ByteBufsetMedium(int int2, int int3)ByteBufsetMediumLE(int int2, int int3)ByteBufsetShort(int int2, int int3)ByteBufsetShortLE(int int2, int int3)ByteBufsetZero(int int2, int int3)ByteBufskipBytes(int int2)ByteBufslice()ByteBufslice(int int2, int int3)StringtoString()StringtoString(int int2, int int3, Charset charset)StringtoString(Charset charset)ByteBuftouch()ByteBuftouch(Object object)ByteBufunwrap()intwritableBytes()voidwriteBitSet(BitSet bitSet)Writes a bit set to this buf.voidwriteBlockHitResult(BlockHitResult hitResult)Writes a block hit result to this buf.PacketByteBufwriteBlockPos(BlockPos pos)Writes a block position to this buf.ByteBufwriteBoolean(boolean bool)ByteBufwriteByte(int int2)PacketByteBufwriteByteArray(byte[] array)Writes an array of primitive bytes to this buf.ByteBufwriteBytes(byte[] byte2)ByteBufwriteBytes(byte[] byte2, int int2, int int3)ByteBufwriteBytes(ByteBuf byteBuf)ByteBufwriteBytes(ByteBuf byteBuf, int int2)ByteBufwriteBytes(ByteBuf byteBuf, int int2, int int3)intwriteBytes(InputStream inputStream, int int2)ByteBufwriteBytes(ByteBuffer byteBuffer)intwriteBytes(FileChannel fileChannel, long long2, int int2)intwriteBytes(ScatteringByteChannel scatteringByteChannel, int int2)ByteBufwriteChar(int int2)intwriteCharSequence(CharSequence charSequence, Charset charset)<T> voidwriteCollection(Collection<T> collection, BiConsumer<PacketByteBuf,T> entrySerializer)Writes a collection to this buf.PacketByteBufwriteCompoundTag(@Nullable CompoundTag compound)Writes an NBT compound to this buf.PacketByteBufwriteDate(Date date)Writes a date to this buf.ByteBufwriteDouble(double double2)PacketByteBufwriteEnumConstant(Enum<?> instance)Writes an enum constant to this buf.ByteBufwriteFloat(float float2)PacketByteBufwriteIdentifier(Identifier id)Writes an identifier to this buf.ByteBufwriteInt(int int2)PacketByteBufwriteIntArray(int[] array)Writes an array of primitive ints to this buf.ByteBufwriteIntLE(int int2)voidwriteIntList(IntList list)Writes a list of primitive ints from this buf.PacketByteBufwriteItemStack(ItemStack stack)Writes an item stack to this buf.ByteBufwriteLong(long long2)PacketByteBufwriteLongArray(long[] array)Writes an array of primitive longs to this buf.ByteBufwriteLongLE(long long2)<K, V> voidwriteMap(Map<K,V> map, BiConsumer<PacketByteBuf,K> keySerializer, BiConsumer<PacketByteBuf,V> valueSerializer)Writes a map to this buf.ByteBufwriteMedium(int int2)ByteBufwriteMediumLE(int int2)intwriterIndex()ByteBufwriterIndex(int int2)ByteBufwriteShort(int int2)ByteBufwriteShortLE(int int2)PacketByteBufwriteString(String string)Writes a string to this buf.PacketByteBufwriteString(String string, int maxLength)Writes a string to this buf.PacketByteBufwriteText(Text text)Writes a text to this buf.PacketByteBufwriteUuid(UUID uuid)Writes a UUID (universally unique identifier) to this buf.PacketByteBufwriteVarInt(int value)Writes a single var int to this buf.PacketByteBufwriteVarLong(long value)Writes a single var long to this buf.ByteBufwriteZero(int int2)Methods inherited from class io.netty.buffer.ByteBuf
getDoubleLE, getFloatLE, readDoubleLE, readFloatLE, setDoubleLE, setFloatLE, writeDoubleLE, writeFloatLE
-
Field Details
-
parent
- Mappings:
Namespace Name Mixin selector official aLnx;a:Lio/netty/buffer/ByteBuf;intermediary field_11695Lnet/minecraft/class_2540;field_11695:Lio/netty/buffer/ByteBuf;named parentLnet/minecraft/network/PacketByteBuf;parent:Lio/netty/buffer/ByteBuf;
-
-
Constructor Details
-
PacketByteBuf
Creates a packet byte buf that delegates its operations to theparentbuf.- Parameters:
parent- the parent, or delegate, buf- Mappings:
Namespace Name Mixin selector official <init>Lnx;<init>(Lio/netty/buffer/ByteBuf;)Vintermediary <init>Lnet/minecraft/class_2540;<init>(Lio/netty/buffer/ByteBuf;)Vnamed <init>Lnet/minecraft/network/PacketByteBuf;<init>(Lio/netty/buffer/ByteBuf;)V
-
-
Method Details
-
getVarIntSizeBytes
public static int getVarIntSizeBytes(int value)- Parameters:
value- the value to encode- Returns:
- the number of bytes a var int
valueuses - Mappings:
Namespace Name Mixin selector official aLnx;a(I)Iintermediary method_10815Lnet/minecraft/class_2540;method_10815(I)Inamed getVarIntSizeBytesLnet/minecraft/network/PacketByteBuf;getVarIntSizeBytes(I)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.- Type Parameters:
T- the decoded object's type- Parameters:
codec- the codec to decode the object- Returns:
- the read object
- Throws:
EncoderException- if thecodecfails to decode the compound tag- See Also:
encode(Codec, Object)- Mappings:
Namespace Name Mixin selector official aLnx;a(Lcom/mojang/serialization/Codec;)Ljava/lang/Object;intermediary method_29171Lnet/minecraft/class_2540;method_29171(Lcom/mojang/serialization/Codec;)Ljava/lang/Object;named decodeLnet/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.- Type Parameters:
T- the encoded object's type- Parameters:
codec- the codec to encode the objectobject- the object to write to this buf- Throws:
EncoderException- if thecodecfails to encode the compound tag- See Also:
decode(Codec)- Mappings:
Namespace Name Mixin selector official aLnx;a(Lcom/mojang/serialization/Codec;Ljava/lang/Object;)Vintermediary method_29172Lnet/minecraft/class_2540;method_29172(Lcom/mojang/serialization/Codec;Ljava/lang/Object;)Vnamed encodeLnet/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.- Type Parameters:
T- the collection's entry typeC- the collection's type- Parameters:
collectionFactory- a factory that creates a collection with a given sizeentryParser- a parser that parses each entry for the collection given this buf- Returns:
- the read collection
- See Also:
writeCollection(Collection, BiConsumer),readList(Function)- Mappings:
Namespace Name Mixin selector official aLnx;a(Ljava/util/function/IntFunction;Ljava/util/function/Function;)Ljava/util/Collection;intermediary method_34068Lnet/minecraft/class_2540;method_34068(Ljava/util/function/IntFunction;Ljava/util/function/Function;)Ljava/util/Collection;named readCollectionLnet/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.- Type Parameters:
T- the list's entry type- Parameters:
collection- the collection to writeentrySerializer- a serializer that writes each entry to this buf- See Also:
readCollection(IntFunction, Function)- Mappings:
Namespace Name Mixin selector official aLnx;a(Ljava/util/Collection;Ljava/util/function/BiConsumer;)Vintermediary method_34062Lnet/minecraft/class_2540;method_34062(Ljava/util/Collection;Ljava/util/function/BiConsumer;)Vnamed writeCollectionLnet/minecraft/network/PacketByteBuf;writeCollection(Ljava/util/Collection;Ljava/util/function/BiConsumer;)V
-
readList
Reads a collection from this buf as an array list.- Type Parameters:
T- the list's entry type- Parameters:
entryParser- a parser that parses each entry for the collection given this buf- Returns:
- the read list
- See Also:
readCollection(IntFunction, Function)- Mappings:
Namespace Name Mixin selector official aLnx;a(Ljava/util/function/Function;)Ljava/util/List;intermediary method_34066Lnet/minecraft/class_2540;method_34066(Ljava/util/function/Function;)Ljava/util/List;named readListLnet/minecraft/network/PacketByteBuf;readList(Ljava/util/function/Function;)Ljava/util/List;
-
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.- Returns:
- the read list
- See Also:
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 aLnx;a()Lit/unimi/dsi/fastutil/ints/IntList;intermediary method_34059Lnet/minecraft/class_2540;method_34059()Lit/unimi/dsi/fastutil/ints/IntList;named readIntListLnet/minecraft/network/PacketByteBuf;readIntList()Lit/unimi/dsi/fastutil/ints/IntList;
-
writeIntList
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.- Parameters:
list- the list to write- See Also:
readIntList(),writeIntArray(int[])- Implementation Note:
- A list of ints has the same format as an int array.
- Mappings:
Namespace Name Mixin selector official aLnx;a(Lit/unimi/dsi/fastutil/ints/IntList;)Vintermediary method_34060Lnet/minecraft/class_2540;method_34060(Lit/unimi/dsi/fastutil/ints/IntList;)Vnamed writeIntListLnet/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.- Type Parameters:
K- the key typeV- the value typeM- the map type- Parameters:
mapFactory- a factory that creates a map with a given sizekeyParser- a parser that parses each key for the map given this bufvalueParser- a parser that parses each value for the map given this buf- Returns:
- the read map
- See Also:
writeMap(Map, BiConsumer, BiConsumer),readMap(Function, Function)- Mappings:
Namespace Name Mixin selector official aLnx;a(Ljava/util/function/IntFunction;Ljava/util/function/Function;Ljava/util/function/Function;)Ljava/util/Map;intermediary method_34069Lnet/minecraft/class_2540;method_34069(Ljava/util/function/IntFunction;Ljava/util/function/Function;Ljava/util/function/Function;)Ljava/util/Map;named readMapLnet/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.- Type Parameters:
K- the key typeV- the value type- Parameters:
keyParser- a parser that parses each key for the map given this bufvalueParser- a parser that parses each value for the map given this buf- Returns:
- the read map
- See Also:
readMap(IntFunction, Function, Function)- Mappings:
Namespace Name Mixin selector official aLnx;a(Ljava/util/function/Function;Ljava/util/function/Function;)Ljava/util/Map;intermediary method_34067Lnet/minecraft/class_2540;method_34067(Ljava/util/function/Function;Ljava/util/function/Function;)Ljava/util/Map;named readMapLnet/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.- Type Parameters:
K- the key typeV- the value type- Parameters:
map- the map to writekeySerializer- a serializer that writes each key in the map to this bufvalueSerializer- a serializer that writes each value in the map to this buf- See Also:
readMap(IntFunction, Function, Function)- Mappings:
Namespace Name Mixin selector official aLnx;a(Ljava/util/Map;Ljava/util/function/BiConsumer;Ljava/util/function/BiConsumer;)Vintermediary method_34063Lnet/minecraft/class_2540;method_34063(Ljava/util/Map;Ljava/util/function/BiConsumer;Ljava/util/function/BiConsumer;)Vnamed writeMapLnet/minecraft/network/PacketByteBuf;writeMap(Ljava/util/Map;Ljava/util/function/BiConsumer;Ljava/util/function/BiConsumer;)V
-
forEachInCollection
Iterates a collection from this buf. The collection is stored as a leading var intsizefollowed by the entries sequentially. Theconsumerwill be calledsizetimes.- Parameters:
consumer- the consumer to read entries- See Also:
readCollection(IntFunction, Function)- Mappings:
Namespace Name Mixin selector official aLnx;a(Ljava/util/function/Consumer;)Vintermediary method_34065Lnet/minecraft/class_2540;method_34065(Ljava/util/function/Consumer;)Vnamed forEachInCollectionLnet/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.- Returns:
- the read byte array
- See Also:
readByteArray(int),writeByteArray(byte[])- Mappings:
Namespace Name Mixin selector official bLnx;b()[Bintermediary method_10795Lnet/minecraft/class_2540;method_10795()[Bnamed readByteArrayLnet/minecraft/network/PacketByteBuf;readByteArray()[B
-
writeByteArray
Writes an array of primitive bytes to this buf. The array first has a var int indicating its length, followed by the actual bytes.- Parameters:
array- the array to write- Returns:
- this buf, for chaining
- See Also:
readByteArray()- Mappings:
Namespace Name Mixin selector official aLnx;a([B)Lnx;intermediary method_10813Lnet/minecraft/class_2540;method_10813([B)Lnet/minecraft/class_2540;named writeByteArrayLnet/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 bymaxSize.- Parameters:
maxSize- the max length of the read array- Returns:
- the read byte array
- Throws:
DecoderException- if the read array has a length overmaxSize- See Also:
readByteArray(),writeByteArray(byte[])- Mappings:
Namespace Name Mixin selector official bLnx;b(I)[Bintermediary method_10803Lnet/minecraft/class_2540;method_10803(I)[Bnamed readByteArrayLnet/minecraft/network/PacketByteBuf;readByteArray(I)[B
-
writeIntArray
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.- Parameters:
array- the array to write- Returns:
- this buf, for chaining
- See Also:
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 aLnx;a([I)Lnx;intermediary method_10806Lnet/minecraft/class_2540;method_10806([I)Lnet/minecraft/class_2540;named writeIntArrayLnet/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.- Returns:
- the read byte array
- See Also:
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 cLnx;c()[Iintermediary method_10787Lnet/minecraft/class_2540;method_10787()[Inamed readIntArrayLnet/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 bymaxSize.- Parameters:
maxSize- the max length of the read array- Returns:
- the read byte array
- Throws:
DecoderException- if the read array has a length overmaxSize- See Also:
readIntArray(),writeIntArray(int[])- Implementation Note:
- An int array has the same format as a list of ints.
- Mappings:
Namespace Name Mixin selector official cLnx;c(I)[Iintermediary method_10799Lnet/minecraft/class_2540;method_10799(I)[Inamed readIntArrayLnet/minecraft/network/PacketByteBuf;readIntArray(I)[I
-
writeLongArray
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.- Parameters:
array- the array to write- Returns:
- this buf, for chaining
- See Also:
readLongArray()- Mappings:
Namespace Name Mixin selector official aLnx;a([J)Lnx;intermediary method_10789Lnet/minecraft/class_2540;method_10789([J)Lnet/minecraft/class_2540;named writeLongArrayLnet/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.- Returns:
- the read long array
- See Also:
writeLongArray(long[]),readLongArray(long[]),readLongArray(long[], int)- Mappings:
Namespace Name Mixin selector official dLnx;d()[Jintermediary method_33134Lnet/minecraft/class_2540;method_33134()[Jnamed readLongArrayLnet/minecraft/network/PacketByteBuf;readLongArray()[J
-
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.Only when
toArrayis notnullandtoArray.lengthequals to the length var int read will thetoArraybe reused and returned; otherwise, a new array of proper size is created.- Parameters:
toArray- the array to reuse- Returns:
- the read long array
- See Also:
writeLongArray(long[]),readLongArray(),readLongArray(long[], int)- Mappings:
Namespace Name Mixin selector official bLnx;b([J)[Jintermediary method_10801Lnet/minecraft/class_2540;method_10801([J)[Jnamed readLongArrayLnet/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 ofmaxSize.Only when
toArrayis notnullandtoArray.lengthequals to the length var int read will thetoArraybe reused and returned; otherwise, a new array of proper size is created.- Parameters:
toArray- the array to reusemaxSize- the max length of the read array- Returns:
- the read long array
- Throws:
DecoderException- if the read array has a length overmaxSize- See Also:
writeLongArray(long[]),readLongArray(),readLongArray(long[])- Mappings:
Namespace Name Mixin selector official aLnx;a([JI)[Jintermediary method_10809Lnet/minecraft/class_2540;method_10809([JI)[Jnamed readLongArrayLnet/minecraft/network/PacketByteBuf;readLongArray([JI)[J
-
readBlockPos
Reads a block position from this buf. A block position is represented by a regular long.- Returns:
- the read block pos
- See Also:
writeBlockPos(BlockPos)- Mappings:
Namespace Name Mixin selector official fLnx;f()Lfx;intermediary method_10811Lnet/minecraft/class_2540;method_10811()Lnet/minecraft/class_2338;named readBlockPosLnet/minecraft/network/PacketByteBuf;readBlockPos()Lnet/minecraft/util/math/BlockPos;
-
writeBlockPos
Writes a block position to this buf. A block position is represented by a regular long.- Parameters:
pos- the pos to write- Returns:
- this buf, for chaining
- See Also:
readBlockPos()- Mappings:
Namespace Name Mixin selector official aLnx;a(Lfx;)Lnx;intermediary method_10807Lnet/minecraft/class_2540;method_10807(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2540;named writeBlockPosLnet/minecraft/network/PacketByteBuf;writeBlockPos(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/network/PacketByteBuf;
-
readChunkSectionPos
Reads a chunk section position from this buf. A chunk section position is represented by a regular long.- Returns:
- the read chunk section pos
- API Note:
- The writing equivalent has been removed by proguard as chunk
section writing is only used by debug rendering. The writing equivalent
would be
buf.writeLong(chunkSectionPos.toLong()). - Mappings:
Namespace Name Mixin selector official hLnx;h()Lgq;intermediary method_19456Lnet/minecraft/class_2540;method_19456()Lnet/minecraft/class_4076;named readChunkSectionPosLnet/minecraft/network/PacketByteBuf;readChunkSectionPos()Lnet/minecraft/util/math/ChunkSectionPos;
-
readText
Reads a text from this buf. A text is represented by a JSON string with max length262144.- Returns:
- the read text
- Throws:
DecoderException- if the JSON string read exceeds262144in length- See Also:
writeText(Text)- Mappings:
Namespace Name Mixin selector official iLnx;i()Loj;intermediary method_10808Lnet/minecraft/class_2540;method_10808()Lnet/minecraft/class_2561;named readTextLnet/minecraft/network/PacketByteBuf;readText()Lnet/minecraft/text/Text;
-
writeText
Writes a text to this buf. A text is represented by a JSON string with max length262144.- Parameters:
text- the text to write- Returns:
- this buf, for chaining
- Throws:
EncoderException- if the JSON string written exceeds262144in length- See Also:
readText()- Mappings:
Namespace Name Mixin selector official aLnx;a(Loj;)Lnx;intermediary method_10805Lnet/minecraft/class_2540;method_10805(Lnet/minecraft/class_2561;)Lnet/minecraft/class_2540;named writeTextLnet/minecraft/network/PacketByteBuf;writeText(Lnet/minecraft/text/Text;)Lnet/minecraft/network/PacketByteBuf;
-
readEnumConstant
Reads an enum constant from this buf. An enum constant is represented by a var int indicating its ordinal.- Parameters:
enumClass- the enum class, for constant lookup- Returns:
- the read enum constant
- See Also:
writeEnumConstant(Enum)- Mappings:
Namespace Name Mixin selector official aLnx;a(Ljava/lang/Class;)Ljava/lang/Enum;intermediary method_10818Lnet/minecraft/class_2540;method_10818(Ljava/lang/Class;)Ljava/lang/Enum;named readEnumConstantLnet/minecraft/network/PacketByteBuf;readEnumConstant(Ljava/lang/Class;)Ljava/lang/Enum;
-
writeEnumConstant
Writes an enum constant to this buf. An enum constant is represented by a var int indicating its ordinal.- Parameters:
instance- the enum constant to write- Returns:
- this buf, for chaining
- See Also:
readEnumConstant(Class)- Mappings:
Namespace Name Mixin selector official aLnx;a(Ljava/lang/Enum;)Lnx;intermediary method_10817Lnet/minecraft/class_2540;method_10817(Ljava/lang/Enum;)Lnet/minecraft/class_2540;named writeEnumConstantLnet/minecraft/network/PacketByteBuf;writeEnumConstant(Ljava/lang/Enum;)Lnet/minecraft/network/PacketByteBuf;
-
readVarInt
public int readVarInt()Reads a single var int from this buf.- Returns:
- the value read
- See Also:
writeVarInt(int)- Mappings:
Namespace Name Mixin selector official jLnx;j()Iintermediary method_10816Lnet/minecraft/class_2540;method_10816()Inamed readVarIntLnet/minecraft/network/PacketByteBuf;readVarInt()I
-
readVarLong
public long readVarLong()Reads a single var long from this buf.- Returns:
- the value read
- See Also:
writeVarLong(long)- Mappings:
Namespace Name Mixin selector official kLnx;k()Jintermediary method_10792Lnet/minecraft/class_2540;method_10792()Jnamed readVarLongLnet/minecraft/network/PacketByteBuf;readVarLong()J
-
writeUuid
Writes a UUID (universally unique identifier) to this buf. A UUID is represented by two regular longs.- Parameters:
uuid- the UUID to write- Returns:
- this buf, for chaining
- See Also:
readUuid()- Mappings:
Namespace Name Mixin selector official aLnx;a(Ljava/util/UUID;)Lnx;intermediary method_10797Lnet/minecraft/class_2540;method_10797(Ljava/util/UUID;)Lnet/minecraft/class_2540;named writeUuidLnet/minecraft/network/PacketByteBuf;writeUuid(Ljava/util/UUID;)Lnet/minecraft/network/PacketByteBuf;
-
readUuid
Reads a UUID (universally unique identifier) from this buf. A UUID is represented by two regular longs.- Returns:
- the read UUID
- See Also:
writeUuid(UUID)- Mappings:
Namespace Name Mixin selector official lLnx;l()Ljava/util/UUID;intermediary method_10790Lnet/minecraft/class_2540;method_10790()Ljava/util/UUID;named readUuidLnet/minecraft/network/PacketByteBuf;readUuid()Ljava/util/UUID;
-
writeVarInt
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.
- Parameters:
value- the value to write- Returns:
- this buf, for chaining
- See Also:
readVarInt()- Mappings:
Namespace Name Mixin selector official dLnx;d(I)Lnx;intermediary method_10804Lnet/minecraft/class_2540;method_10804(I)Lnet/minecraft/class_2540;named writeVarIntLnet/minecraft/network/PacketByteBuf;writeVarInt(I)Lnet/minecraft/network/PacketByteBuf;
-
writeVarLong
Writes a single var long to this buf.Compared to regular longs, var longs may use less bytes when representing smaller positive numbers.
- Parameters:
value- the value to write- Returns:
- this buf, for chaining
- See Also:
readVarLong()- Mappings:
Namespace Name Mixin selector official bLnx;b(J)Lnx;intermediary method_10791Lnet/minecraft/class_2540;method_10791(J)Lnet/minecraft/class_2540;named writeVarLongLnet/minecraft/network/PacketByteBuf;writeVarLong(J)Lnet/minecraft/network/PacketByteBuf;
-
writeCompoundTag
Writes an NBT compound to this buf. The binary representation of NBT is handled byNbtIo. Ifcompoundisnull, it is treated as an END tag.- Parameters:
compound- the compound to write- Returns:
- this buf, for chaining
- Throws:
EncoderException- if the NBT cannot be written- See Also:
readCompoundTag(),readUnlimitedCompoundTag(),readCompoundTag(PositionTracker)- Mappings:
Namespace Name Mixin selector official aLnx;a(Lmr;)Lnx;intermediary method_10794Lnet/minecraft/class_2540;method_10794(Lnet/minecraft/class_2487;)Lnet/minecraft/class_2540;named writeCompoundTagLnet/minecraft/network/PacketByteBuf;writeCompoundTag(Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/network/PacketByteBuf;
-
readCompoundTag
Reads an NBT compound from this buf. The binary representation of NBT is handled byNbtIo. If an END tag is encountered, this method returnsnull. The compound can have a maximum size of2097152bytes.- Returns:
- the read compound, may be
null - Throws:
EncoderException- if the NBT cannot be readRuntimeException- if the compound exceeds the allowed maximum size- See Also:
writeCompoundTag(CompoundTag),readUnlimitedCompoundTag(),readCompoundTag(PositionTracker)- Mappings:
Namespace Name Mixin selector official mLnx;m()Lmr;intermediary method_10798Lnet/minecraft/class_2540;method_10798()Lnet/minecraft/class_2487;named readCompoundTagLnet/minecraft/network/PacketByteBuf;readCompoundTag()Lnet/minecraft/nbt/CompoundTag;
-
readUnlimitedCompoundTag
Reads an NBT compound from this buf. The binary representation of NBT is handled byNbtIo. If an END tag is encountered, this method returnsnull. The compound does not have a size limit.- Returns:
- the read compound, may be
null - Throws:
EncoderException- if the NBT cannot be read- See Also:
writeCompoundTag(CompoundTag),readCompoundTag(),readCompoundTag(PositionTracker)- 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 nLnx;n()Lmr;intermediary method_30617Lnet/minecraft/class_2540;method_30617()Lnet/minecraft/class_2487;named readUnlimitedCompoundTagLnet/minecraft/network/PacketByteBuf;readUnlimitedCompoundTag()Lnet/minecraft/nbt/CompoundTag;
-
readCompoundTag
Reads an NBT compound from this buf. The binary representation of NBT is handled byNbtIo. If an END tag is encountered, this method returnsnull. The compound can have a maximum size controlled by thesizeTracker.- Returns:
- the read compound, may be
null - Throws:
EncoderException- if the NBT cannot be readRuntimeException- if the compound exceeds the allowed maximum size- See Also:
writeCompoundTag(CompoundTag),readCompoundTag(),readUnlimitedCompoundTag()- Mappings:
Namespace Name Mixin selector official aLnx;a(Lna;)Lmr;intermediary method_30616Lnet/minecraft/class_2540;method_30616(Lnet/minecraft/class_2505;)Lnet/minecraft/class_2487;named readCompoundTagLnet/minecraft/network/PacketByteBuf;readCompoundTag(Lnet/minecraft/nbt/NbtTagSizeTracker;)Lnet/minecraft/nbt/CompoundTag;
-
writeItemStack
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.- Parameters:
stack- the stack to write- Returns:
- this buf, for chaining
- See Also:
readItemStack()- Mappings:
Namespace Name Mixin selector official aLnx;a(Lboq;)Lnx;intermediary method_10793Lnet/minecraft/class_2540;method_10793(Lnet/minecraft/class_1799;)Lnet/minecraft/class_2540;named writeItemStackLnet/minecraft/network/PacketByteBuf;writeItemStack(Lnet/minecraft/item/ItemStack;)Lnet/minecraft/network/PacketByteBuf;
-
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.- Returns:
- the read item stack
- See Also:
writeItemStack(ItemStack)- Mappings:
Namespace Name Mixin selector official oLnx;o()Lboq;intermediary method_10819Lnet/minecraft/class_2540;method_10819()Lnet/minecraft/class_1799;named readItemStackLnet/minecraft/network/PacketByteBuf;readItemStack()Lnet/minecraft/item/ItemStack;
-
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 of32767.- Returns:
- the string read
- Throws:
DecoderException- if the string read exceeds the maximum length- See Also:
readString(int),writeString(String),writeString(String, int)- Mappings:
Namespace Name Mixin selector official pLnx;p()Ljava/lang/String;intermediary method_19772Lnet/minecraft/class_2540;method_19772()Ljava/lang/String;named readStringLnet/minecraft/network/PacketByteBuf;readString()Ljava/lang/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 ofmaxLength.- Parameters:
maxLength- the maximum length of the string read- Returns:
- the string read
- Throws:
DecoderException- if the string read is longer thanmaxLength- See Also:
readString(),writeString(String),writeString(String, int)- Mappings:
Namespace Name Mixin selector official eLnx;e(I)Ljava/lang/String;intermediary method_10800Lnet/minecraft/class_2540;method_10800(I)Ljava/lang/String;named readStringLnet/minecraft/network/PacketByteBuf;readString(I)Ljava/lang/String;
-
writeString
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 of32767.- Parameters:
string- the string to write- Returns:
- this buf, for chaining
- Throws:
EncoderException- if the byte array of the string to write is longer than32767- See Also:
readString(),readString(int),writeString(String, int)- Mappings:
Namespace Name Mixin selector official aLnx;a(Ljava/lang/String;)Lnx;intermediary method_10814Lnet/minecraft/class_2540;method_10814(Ljava/lang/String;)Lnet/minecraft/class_2540;named writeStringLnet/minecraft/network/PacketByteBuf;writeString(Ljava/lang/String;)Lnet/minecraft/network/PacketByteBuf;
-
writeString
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 ofmaxLength.- Parameters:
string- the string to writemaxLength- the max length of the byte array- Returns:
- this buf, for chaining
- Throws:
EncoderException- if the byte array of the string to write is longer thanmaxLength- See Also:
readString(),readString(int),writeString(String)- Mappings:
Namespace Name Mixin selector official aLnx;a(Ljava/lang/String;I)Lnx;intermediary method_10788Lnet/minecraft/class_2540;method_10788(Ljava/lang/String;I)Lnet/minecraft/class_2540;named writeStringLnet/minecraft/network/PacketByteBuf;writeString(Ljava/lang/String;I)Lnet/minecraft/network/PacketByteBuf;
-
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 of32767.- Returns:
- the read identifier
- Throws:
DecoderException- if the identifier's string form is longer than32767- See Also:
writeIdentifier(Identifier)- Mappings:
Namespace Name Mixin selector official qLnx;q()Lwl;intermediary method_10810Lnet/minecraft/class_2540;method_10810()Lnet/minecraft/class_2960;named readIdentifierLnet/minecraft/network/PacketByteBuf;readIdentifier()Lnet/minecraft/util/Identifier;
-
writeIdentifier
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 of32767.- Parameters:
id- the identifier to write- Returns:
- the read identifier
- Throws:
EncoderException- if theid's byte array is longer than32767- See Also:
readIdentifier()- Mappings:
Namespace Name Mixin selector official aLnx;a(Lwl;)Lnx;intermediary method_10812Lnet/minecraft/class_2540;method_10812(Lnet/minecraft/class_2960;)Lnet/minecraft/class_2540;named writeIdentifierLnet/minecraft/network/PacketByteBuf;writeIdentifier(Lnet/minecraft/util/Identifier;)Lnet/minecraft/network/PacketByteBuf;
-
readDate
Reads a date from this buf. A date is represented by its time, a regular long.- Returns:
- the read date
- See Also:
writeDate(Date)- Mappings:
Namespace Name Mixin selector official rLnx;r()Ljava/util/Date;intermediary method_10802Lnet/minecraft/class_2540;method_10802()Ljava/util/Date;named readDateLnet/minecraft/network/PacketByteBuf;readDate()Ljava/util/Date;
-
writeDate
Writes a date to this buf. A date is represented by its time, a regular long.- Parameters:
date- the date to write- Returns:
- this buf, for chaining
- See Also:
readDate()- Mappings:
Namespace Name Mixin selector official aLnx;a(Ljava/util/Date;)Lnx;intermediary method_10796Lnet/minecraft/class_2540;method_10796(Ljava/util/Date;)Lnet/minecraft/class_2540;named writeDateLnet/minecraft/network/PacketByteBuf;writeDate(Ljava/util/Date;)Lnet/minecraft/network/PacketByteBuf;
-
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.- Returns:
- the read block hit result
- See Also:
writeBlockHitResult(BlockHitResult)- Mappings:
Namespace Name Mixin selector official sLnx;s()Ldkj;intermediary method_17814Lnet/minecraft/class_2540;method_17814()Lnet/minecraft/class_3965;named readBlockHitResultLnet/minecraft/network/PacketByteBuf;readBlockHitResult()Lnet/minecraft/util/hit/BlockHitResult;
-
writeBlockHitResult
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.- Parameters:
hitResult- the block hit result to write- See Also:
readBlockHitResult()- Mappings:
Namespace Name Mixin selector official aLnx;a(Ldkj;)Vintermediary method_17813Lnet/minecraft/class_2540;method_17813(Lnet/minecraft/class_3965;)Vnamed writeBlockHitResultLnet/minecraft/network/PacketByteBuf;writeBlockHitResult(Lnet/minecraft/util/hit/BlockHitResult;)V
-
readBitSet
Reads a bit set from this buf. A bit set is represented by a long array.- Returns:
- the read bit set
- See Also:
writeBitSet(BitSet)- Mappings:
Namespace Name Mixin selector official tLnx;t()Ljava/util/BitSet;intermediary method_33558Lnet/minecraft/class_2540;method_33558()Ljava/util/BitSet;named readBitSetLnet/minecraft/network/PacketByteBuf;readBitSet()Ljava/util/BitSet;
-
writeBitSet
Writes a bit set to this buf. A bit set is represented by a long array.- Parameters:
bitSet- the bit set to write- See Also:
readBitSet()- Mappings:
Namespace Name Mixin selector official aLnx;a(Ljava/util/BitSet;)Vintermediary method_33557Lnet/minecraft/class_2540;method_33557(Ljava/util/BitSet;)Vnamed writeBitSetLnet/minecraft/network/PacketByteBuf;writeBitSet(Ljava/util/BitSet;)V
-
capacity
public int capacity() -
capacity
- Specified by:
capacityin classByteBuf- Mappings:
Namespace Name Mixin selector official capacityLnx;capacity(I)Lio/netty/buffer/ByteBuf;intermediary capacityLnet/minecraft/class_2540;capacity(I)Lio/netty/buffer/ByteBuf;named capacityLnet/minecraft/network/PacketByteBuf;capacity(I)Lio/netty/buffer/ByteBuf;
-
maxCapacity
public int maxCapacity()- Specified by:
maxCapacityin classByteBuf- Mappings:
Namespace Name Mixin selector official maxCapacityLnx;maxCapacity()Iintermediary maxCapacityLnet/minecraft/class_2540;maxCapacity()Inamed maxCapacityLnet/minecraft/network/PacketByteBuf;maxCapacity()I
-
alloc
- Specified by:
allocin classByteBuf- Mappings:
Namespace Name Mixin selector official allocLnx;alloc()Lio/netty/buffer/ByteBufAllocator;intermediary allocLnet/minecraft/class_2540;alloc()Lio/netty/buffer/ByteBufAllocator;named allocLnet/minecraft/network/PacketByteBuf;alloc()Lio/netty/buffer/ByteBufAllocator;
-
order
-
order
- Specified by:
orderin classByteBuf- Mappings:
Namespace Name Mixin selector official orderLnx;order(Ljava/nio/ByteOrder;)Lio/netty/buffer/ByteBuf;intermediary orderLnet/minecraft/class_2540;order(Ljava/nio/ByteOrder;)Lio/netty/buffer/ByteBuf;named orderLnet/minecraft/network/PacketByteBuf;order(Ljava/nio/ByteOrder;)Lio/netty/buffer/ByteBuf;
-
unwrap
-
isDirect
public boolean isDirect() -
isReadOnly
public boolean isReadOnly()- Specified by:
isReadOnlyin classByteBuf- Mappings:
Namespace Name Mixin selector official isReadOnlyLnx;isReadOnly()Zintermediary isReadOnlyLnet/minecraft/class_2540;isReadOnly()Znamed isReadOnlyLnet/minecraft/network/PacketByteBuf;isReadOnly()Z
-
asReadOnly
- Specified by:
asReadOnlyin classByteBuf- Mappings:
Namespace Name Mixin selector official asReadOnlyLnx;asReadOnly()Lio/netty/buffer/ByteBuf;intermediary asReadOnlyLnet/minecraft/class_2540;asReadOnly()Lio/netty/buffer/ByteBuf;named asReadOnlyLnet/minecraft/network/PacketByteBuf;asReadOnly()Lio/netty/buffer/ByteBuf;
-
readerIndex
public int readerIndex()- Specified by:
readerIndexin classByteBuf- Mappings:
Namespace Name Mixin selector official readerIndexLnx;readerIndex()Iintermediary readerIndexLnet/minecraft/class_2540;readerIndex()Inamed readerIndexLnet/minecraft/network/PacketByteBuf;readerIndex()I
-
readerIndex
- Specified by:
readerIndexin classByteBuf- Mappings:
Namespace Name Mixin selector official readerIndexLnx;readerIndex(I)Lio/netty/buffer/ByteBuf;intermediary readerIndexLnet/minecraft/class_2540;readerIndex(I)Lio/netty/buffer/ByteBuf;named readerIndexLnet/minecraft/network/PacketByteBuf;readerIndex(I)Lio/netty/buffer/ByteBuf;
-
writerIndex
public int writerIndex()- Specified by:
writerIndexin classByteBuf- Mappings:
Namespace Name Mixin selector official writerIndexLnx;writerIndex()Iintermediary writerIndexLnet/minecraft/class_2540;writerIndex()Inamed writerIndexLnet/minecraft/network/PacketByteBuf;writerIndex()I
-
writerIndex
- Specified by:
writerIndexin classByteBuf- Mappings:
Namespace Name Mixin selector official writerIndexLnx;writerIndex(I)Lio/netty/buffer/ByteBuf;intermediary writerIndexLnet/minecraft/class_2540;writerIndex(I)Lio/netty/buffer/ByteBuf;named writerIndexLnet/minecraft/network/PacketByteBuf;writerIndex(I)Lio/netty/buffer/ByteBuf;
-
setIndex
- Specified by:
setIndexin classByteBuf- Mappings:
Namespace Name Mixin selector official setIndexLnx;setIndex(II)Lio/netty/buffer/ByteBuf;intermediary setIndexLnet/minecraft/class_2540;setIndex(II)Lio/netty/buffer/ByteBuf;named setIndexLnet/minecraft/network/PacketByteBuf;setIndex(II)Lio/netty/buffer/ByteBuf;
-
readableBytes
public int readableBytes()- Specified by:
readableBytesin classByteBuf- Mappings:
Namespace Name Mixin selector official readableBytesLnx;readableBytes()Iintermediary readableBytesLnet/minecraft/class_2540;readableBytes()Inamed readableBytesLnet/minecraft/network/PacketByteBuf;readableBytes()I
-
writableBytes
public int writableBytes()- Specified by:
writableBytesin classByteBuf- Mappings:
Namespace Name Mixin selector official writableBytesLnx;writableBytes()Iintermediary writableBytesLnet/minecraft/class_2540;writableBytes()Inamed writableBytesLnet/minecraft/network/PacketByteBuf;writableBytes()I
-
maxWritableBytes
public int maxWritableBytes()- Specified by:
maxWritableBytesin classByteBuf- Mappings:
Namespace Name Mixin selector official maxWritableBytesLnx;maxWritableBytes()Iintermediary maxWritableBytesLnet/minecraft/class_2540;maxWritableBytes()Inamed maxWritableBytesLnet/minecraft/network/PacketByteBuf;maxWritableBytes()I
-
isReadable
public boolean isReadable()- Specified by:
isReadablein classByteBuf- Mappings:
Namespace Name Mixin selector official isReadableLnx;isReadable()Zintermediary isReadableLnet/minecraft/class_2540;isReadable()Znamed isReadableLnet/minecraft/network/PacketByteBuf;isReadable()Z
-
isReadable
public boolean isReadable(int int2)- Specified by:
isReadablein classByteBuf- Mappings:
Namespace Name Mixin selector official isReadableLnx;isReadable(I)Zintermediary isReadableLnet/minecraft/class_2540;isReadable(I)Znamed isReadableLnet/minecraft/network/PacketByteBuf;isReadable(I)Z
-
isWritable
public boolean isWritable()- Specified by:
isWritablein classByteBuf- Mappings:
Namespace Name Mixin selector official isWritableLnx;isWritable()Zintermediary isWritableLnet/minecraft/class_2540;isWritable()Znamed isWritableLnet/minecraft/network/PacketByteBuf;isWritable()Z
-
isWritable
public boolean isWritable(int int2)- Specified by:
isWritablein classByteBuf- Mappings:
Namespace Name Mixin selector official isWritableLnx;isWritable(I)Zintermediary isWritableLnet/minecraft/class_2540;isWritable(I)Znamed isWritableLnet/minecraft/network/PacketByteBuf;isWritable(I)Z
-
clear
-
markReaderIndex
- Specified by:
markReaderIndexin classByteBuf- Mappings:
Namespace Name Mixin selector official markReaderIndexLnx;markReaderIndex()Lio/netty/buffer/ByteBuf;intermediary markReaderIndexLnet/minecraft/class_2540;markReaderIndex()Lio/netty/buffer/ByteBuf;named markReaderIndexLnet/minecraft/network/PacketByteBuf;markReaderIndex()Lio/netty/buffer/ByteBuf;
-
resetReaderIndex
- Specified by:
resetReaderIndexin classByteBuf- Mappings:
Namespace Name Mixin selector official resetReaderIndexLnx;resetReaderIndex()Lio/netty/buffer/ByteBuf;intermediary resetReaderIndexLnet/minecraft/class_2540;resetReaderIndex()Lio/netty/buffer/ByteBuf;named resetReaderIndexLnet/minecraft/network/PacketByteBuf;resetReaderIndex()Lio/netty/buffer/ByteBuf;
-
markWriterIndex
- Specified by:
markWriterIndexin classByteBuf- Mappings:
Namespace Name Mixin selector official markWriterIndexLnx;markWriterIndex()Lio/netty/buffer/ByteBuf;intermediary markWriterIndexLnet/minecraft/class_2540;markWriterIndex()Lio/netty/buffer/ByteBuf;named markWriterIndexLnet/minecraft/network/PacketByteBuf;markWriterIndex()Lio/netty/buffer/ByteBuf;
-
resetWriterIndex
- Specified by:
resetWriterIndexin classByteBuf- Mappings:
Namespace Name Mixin selector official resetWriterIndexLnx;resetWriterIndex()Lio/netty/buffer/ByteBuf;intermediary resetWriterIndexLnet/minecraft/class_2540;resetWriterIndex()Lio/netty/buffer/ByteBuf;named resetWriterIndexLnet/minecraft/network/PacketByteBuf;resetWriterIndex()Lio/netty/buffer/ByteBuf;
-
discardReadBytes
- Specified by:
discardReadBytesin classByteBuf- Mappings:
Namespace Name Mixin selector official discardReadBytesLnx;discardReadBytes()Lio/netty/buffer/ByteBuf;intermediary discardReadBytesLnet/minecraft/class_2540;discardReadBytes()Lio/netty/buffer/ByteBuf;named discardReadBytesLnet/minecraft/network/PacketByteBuf;discardReadBytes()Lio/netty/buffer/ByteBuf;
-
discardSomeReadBytes
- Specified by:
discardSomeReadBytesin classByteBuf- Mappings:
Namespace Name Mixin selector official discardSomeReadBytesLnx;discardSomeReadBytes()Lio/netty/buffer/ByteBuf;intermediary discardSomeReadBytesLnet/minecraft/class_2540;discardSomeReadBytes()Lio/netty/buffer/ByteBuf;named discardSomeReadBytesLnet/minecraft/network/PacketByteBuf;discardSomeReadBytes()Lio/netty/buffer/ByteBuf;
-
ensureWritable
- Specified by:
ensureWritablein classByteBuf- Mappings:
Namespace Name Mixin selector official ensureWritableLnx;ensureWritable(I)Lio/netty/buffer/ByteBuf;intermediary ensureWritableLnet/minecraft/class_2540;ensureWritable(I)Lio/netty/buffer/ByteBuf;named ensureWritableLnet/minecraft/network/PacketByteBuf;ensureWritable(I)Lio/netty/buffer/ByteBuf;
-
ensureWritable
public int ensureWritable(int int2, boolean bool)- Specified by:
ensureWritablein classByteBuf- Mappings:
Namespace Name Mixin selector official ensureWritableLnx;ensureWritable(IZ)Iintermediary ensureWritableLnet/minecraft/class_2540;ensureWritable(IZ)Inamed ensureWritableLnet/minecraft/network/PacketByteBuf;ensureWritable(IZ)I
-
getBoolean
public boolean getBoolean(int int2)- Specified by:
getBooleanin classByteBuf- Mappings:
Namespace Name Mixin selector official getBooleanLnx;getBoolean(I)Zintermediary getBooleanLnet/minecraft/class_2540;getBoolean(I)Znamed getBooleanLnet/minecraft/network/PacketByteBuf;getBoolean(I)Z
-
getByte
public byte getByte(int int2) -
getUnsignedByte
public short getUnsignedByte(int int2)- Specified by:
getUnsignedBytein classByteBuf- Mappings:
Namespace Name Mixin selector official getUnsignedByteLnx;getUnsignedByte(I)Sintermediary getUnsignedByteLnet/minecraft/class_2540;getUnsignedByte(I)Snamed getUnsignedByteLnet/minecraft/network/PacketByteBuf;getUnsignedByte(I)S
-
getShort
public short getShort(int int2) -
getShortLE
public short getShortLE(int int2)- Specified by:
getShortLEin classByteBuf- Mappings:
Namespace Name Mixin selector official getShortLELnx;getShortLE(I)Sintermediary getShortLELnet/minecraft/class_2540;getShortLE(I)Snamed getShortLELnet/minecraft/network/PacketByteBuf;getShortLE(I)S
-
getUnsignedShort
public int getUnsignedShort(int int2)- Specified by:
getUnsignedShortin classByteBuf- Mappings:
Namespace Name Mixin selector official getUnsignedShortLnx;getUnsignedShort(I)Iintermediary getUnsignedShortLnet/minecraft/class_2540;getUnsignedShort(I)Inamed getUnsignedShortLnet/minecraft/network/PacketByteBuf;getUnsignedShort(I)I
-
getUnsignedShortLE
public int getUnsignedShortLE(int int2)- Specified by:
getUnsignedShortLEin classByteBuf- Mappings:
Namespace Name Mixin selector official getUnsignedShortLELnx;getUnsignedShortLE(I)Iintermediary getUnsignedShortLELnet/minecraft/class_2540;getUnsignedShortLE(I)Inamed getUnsignedShortLELnet/minecraft/network/PacketByteBuf;getUnsignedShortLE(I)I
-
getMedium
public int getMedium(int int2) -
getMediumLE
public int getMediumLE(int int2)- Specified by:
getMediumLEin classByteBuf- Mappings:
Namespace Name Mixin selector official getMediumLELnx;getMediumLE(I)Iintermediary getMediumLELnet/minecraft/class_2540;getMediumLE(I)Inamed getMediumLELnet/minecraft/network/PacketByteBuf;getMediumLE(I)I
-
getUnsignedMedium
public int getUnsignedMedium(int int2)- Specified by:
getUnsignedMediumin classByteBuf- Mappings:
Namespace Name Mixin selector official getUnsignedMediumLnx;getUnsignedMedium(I)Iintermediary getUnsignedMediumLnet/minecraft/class_2540;getUnsignedMedium(I)Inamed getUnsignedMediumLnet/minecraft/network/PacketByteBuf;getUnsignedMedium(I)I
-
getUnsignedMediumLE
public int getUnsignedMediumLE(int int2)- Specified by:
getUnsignedMediumLEin classByteBuf- Mappings:
Namespace Name Mixin selector official getUnsignedMediumLELnx;getUnsignedMediumLE(I)Iintermediary getUnsignedMediumLELnet/minecraft/class_2540;getUnsignedMediumLE(I)Inamed getUnsignedMediumLELnet/minecraft/network/PacketByteBuf;getUnsignedMediumLE(I)I
-
getInt
public int getInt(int int2) -
getIntLE
public int getIntLE(int int2) -
getUnsignedInt
public long getUnsignedInt(int int2)- Specified by:
getUnsignedIntin classByteBuf- Mappings:
Namespace Name Mixin selector official getUnsignedIntLnx;getUnsignedInt(I)Jintermediary getUnsignedIntLnet/minecraft/class_2540;getUnsignedInt(I)Jnamed getUnsignedIntLnet/minecraft/network/PacketByteBuf;getUnsignedInt(I)J
-
getUnsignedIntLE
public long getUnsignedIntLE(int int2)- Specified by:
getUnsignedIntLEin classByteBuf- Mappings:
Namespace Name Mixin selector official getUnsignedIntLELnx;getUnsignedIntLE(I)Jintermediary getUnsignedIntLELnet/minecraft/class_2540;getUnsignedIntLE(I)Jnamed getUnsignedIntLELnet/minecraft/network/PacketByteBuf;getUnsignedIntLE(I)J
-
getLong
public long getLong(int int2) -
getLongLE
public long getLongLE(int int2) -
getChar
public char getChar(int int2) -
getFloat
public float getFloat(int int2) -
getDouble
public double getDouble(int int2) -
getBytes
- Specified by:
getBytesin classByteBuf- Mappings:
Namespace Name Mixin selector official getBytesLnx;getBytes(ILio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf;intermediary getBytesLnet/minecraft/class_2540;getBytes(ILio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf;named getBytesLnet/minecraft/network/PacketByteBuf;getBytes(ILio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf;
-
getBytes
- Specified by:
getBytesin classByteBuf- Mappings:
Namespace Name Mixin selector official getBytesLnx;getBytes(ILio/netty/buffer/ByteBuf;I)Lio/netty/buffer/ByteBuf;intermediary getBytesLnet/minecraft/class_2540;getBytes(ILio/netty/buffer/ByteBuf;I)Lio/netty/buffer/ByteBuf;named getBytesLnet/minecraft/network/PacketByteBuf;getBytes(ILio/netty/buffer/ByteBuf;I)Lio/netty/buffer/ByteBuf;
-
getBytes
- Specified by:
getBytesin classByteBuf- Mappings:
Namespace Name Mixin selector official getBytesLnx;getBytes(ILio/netty/buffer/ByteBuf;II)Lio/netty/buffer/ByteBuf;intermediary getBytesLnet/minecraft/class_2540;getBytes(ILio/netty/buffer/ByteBuf;II)Lio/netty/buffer/ByteBuf;named getBytesLnet/minecraft/network/PacketByteBuf;getBytes(ILio/netty/buffer/ByteBuf;II)Lio/netty/buffer/ByteBuf;
-
getBytes
- Specified by:
getBytesin classByteBuf- Mappings:
Namespace Name Mixin selector official getBytesLnx;getBytes(I[B)Lio/netty/buffer/ByteBuf;intermediary getBytesLnet/minecraft/class_2540;getBytes(I[B)Lio/netty/buffer/ByteBuf;named getBytesLnet/minecraft/network/PacketByteBuf;getBytes(I[B)Lio/netty/buffer/ByteBuf;
-
getBytes
- Specified by:
getBytesin classByteBuf- Mappings:
Namespace Name Mixin selector official getBytesLnx;getBytes(I[BII)Lio/netty/buffer/ByteBuf;intermediary getBytesLnet/minecraft/class_2540;getBytes(I[BII)Lio/netty/buffer/ByteBuf;named getBytesLnet/minecraft/network/PacketByteBuf;getBytes(I[BII)Lio/netty/buffer/ByteBuf;
-
getBytes
- Specified by:
getBytesin classByteBuf- Mappings:
Namespace Name Mixin selector official getBytesLnx;getBytes(ILjava/nio/ByteBuffer;)Lio/netty/buffer/ByteBuf;intermediary getBytesLnet/minecraft/class_2540;getBytes(ILjava/nio/ByteBuffer;)Lio/netty/buffer/ByteBuf;named getBytesLnet/minecraft/network/PacketByteBuf;getBytes(ILjava/nio/ByteBuffer;)Lio/netty/buffer/ByteBuf;
-
getBytes
- Specified by:
getBytesin classByteBuf- Throws:
IOException- Mappings:
Namespace Name Mixin selector official getBytesLnx;getBytes(ILjava/io/OutputStream;I)Lio/netty/buffer/ByteBuf;intermediary getBytesLnet/minecraft/class_2540;getBytes(ILjava/io/OutputStream;I)Lio/netty/buffer/ByteBuf;named getBytesLnet/minecraft/network/PacketByteBuf;getBytes(ILjava/io/OutputStream;I)Lio/netty/buffer/ByteBuf;
-
getBytes
public int getBytes(int int2, GatheringByteChannel gatheringByteChannel, int int3) throws IOException- Specified by:
getBytesin classByteBuf- Throws:
IOException- Mappings:
Namespace Name Mixin selector official getBytesLnx;getBytes(ILjava/nio/channels/GatheringByteChannel;I)Iintermediary getBytesLnet/minecraft/class_2540;getBytes(ILjava/nio/channels/GatheringByteChannel;I)Inamed getBytesLnet/minecraft/network/PacketByteBuf;getBytes(ILjava/nio/channels/GatheringByteChannel;I)I
-
getBytes
- Specified by:
getBytesin classByteBuf- Throws:
IOException- Mappings:
Namespace Name Mixin selector official getBytesLnx;getBytes(ILjava/nio/channels/FileChannel;JI)Iintermediary getBytesLnet/minecraft/class_2540;getBytes(ILjava/nio/channels/FileChannel;JI)Inamed getBytesLnet/minecraft/network/PacketByteBuf;getBytes(ILjava/nio/channels/FileChannel;JI)I
-
getCharSequence
- Specified by:
getCharSequencein classByteBuf- Mappings:
Namespace Name Mixin selector official getCharSequenceLnx;getCharSequence(IILjava/nio/charset/Charset;)Ljava/lang/CharSequence;intermediary getCharSequenceLnet/minecraft/class_2540;getCharSequence(IILjava/nio/charset/Charset;)Ljava/lang/CharSequence;named getCharSequenceLnet/minecraft/network/PacketByteBuf;getCharSequence(IILjava/nio/charset/Charset;)Ljava/lang/CharSequence;
-
setBoolean
- Specified by:
setBooleanin classByteBuf- Mappings:
Namespace Name Mixin selector official setBooleanLnx;setBoolean(IZ)Lio/netty/buffer/ByteBuf;intermediary setBooleanLnet/minecraft/class_2540;setBoolean(IZ)Lio/netty/buffer/ByteBuf;named setBooleanLnet/minecraft/network/PacketByteBuf;setBoolean(IZ)Lio/netty/buffer/ByteBuf;
-
setByte
- Specified by:
setBytein classByteBuf- Mappings:
Namespace Name Mixin selector official setByteLnx;setByte(II)Lio/netty/buffer/ByteBuf;intermediary setByteLnet/minecraft/class_2540;setByte(II)Lio/netty/buffer/ByteBuf;named setByteLnet/minecraft/network/PacketByteBuf;setByte(II)Lio/netty/buffer/ByteBuf;
-
setShort
- Specified by:
setShortin classByteBuf- Mappings:
Namespace Name Mixin selector official setShortLnx;setShort(II)Lio/netty/buffer/ByteBuf;intermediary setShortLnet/minecraft/class_2540;setShort(II)Lio/netty/buffer/ByteBuf;named setShortLnet/minecraft/network/PacketByteBuf;setShort(II)Lio/netty/buffer/ByteBuf;
-
setShortLE
- Specified by:
setShortLEin classByteBuf- Mappings:
Namespace Name Mixin selector official setShortLELnx;setShortLE(II)Lio/netty/buffer/ByteBuf;intermediary setShortLELnet/minecraft/class_2540;setShortLE(II)Lio/netty/buffer/ByteBuf;named setShortLELnet/minecraft/network/PacketByteBuf;setShortLE(II)Lio/netty/buffer/ByteBuf;
-
setMedium
- Specified by:
setMediumin classByteBuf- Mappings:
Namespace Name Mixin selector official setMediumLnx;setMedium(II)Lio/netty/buffer/ByteBuf;intermediary setMediumLnet/minecraft/class_2540;setMedium(II)Lio/netty/buffer/ByteBuf;named setMediumLnet/minecraft/network/PacketByteBuf;setMedium(II)Lio/netty/buffer/ByteBuf;
-
setMediumLE
- Specified by:
setMediumLEin classByteBuf- Mappings:
Namespace Name Mixin selector official setMediumLELnx;setMediumLE(II)Lio/netty/buffer/ByteBuf;intermediary setMediumLELnet/minecraft/class_2540;setMediumLE(II)Lio/netty/buffer/ByteBuf;named setMediumLELnet/minecraft/network/PacketByteBuf;setMediumLE(II)Lio/netty/buffer/ByteBuf;
-
setInt
- Specified by:
setIntin classByteBuf- Mappings:
Namespace Name Mixin selector official setIntLnx;setInt(II)Lio/netty/buffer/ByteBuf;intermediary setIntLnet/minecraft/class_2540;setInt(II)Lio/netty/buffer/ByteBuf;named setIntLnet/minecraft/network/PacketByteBuf;setInt(II)Lio/netty/buffer/ByteBuf;
-
setIntLE
- Specified by:
setIntLEin classByteBuf- Mappings:
Namespace Name Mixin selector official setIntLELnx;setIntLE(II)Lio/netty/buffer/ByteBuf;intermediary setIntLELnet/minecraft/class_2540;setIntLE(II)Lio/netty/buffer/ByteBuf;named setIntLELnet/minecraft/network/PacketByteBuf;setIntLE(II)Lio/netty/buffer/ByteBuf;
-
setLong
- Specified by:
setLongin classByteBuf- Mappings:
Namespace Name Mixin selector official setLongLnx;setLong(IJ)Lio/netty/buffer/ByteBuf;intermediary setLongLnet/minecraft/class_2540;setLong(IJ)Lio/netty/buffer/ByteBuf;named setLongLnet/minecraft/network/PacketByteBuf;setLong(IJ)Lio/netty/buffer/ByteBuf;
-
setLongLE
- Specified by:
setLongLEin classByteBuf- Mappings:
Namespace Name Mixin selector official setLongLELnx;setLongLE(IJ)Lio/netty/buffer/ByteBuf;intermediary setLongLELnet/minecraft/class_2540;setLongLE(IJ)Lio/netty/buffer/ByteBuf;named setLongLELnet/minecraft/network/PacketByteBuf;setLongLE(IJ)Lio/netty/buffer/ByteBuf;
-
setChar
- Specified by:
setCharin classByteBuf- Mappings:
Namespace Name Mixin selector official setCharLnx;setChar(II)Lio/netty/buffer/ByteBuf;intermediary setCharLnet/minecraft/class_2540;setChar(II)Lio/netty/buffer/ByteBuf;named setCharLnet/minecraft/network/PacketByteBuf;setChar(II)Lio/netty/buffer/ByteBuf;
-
setFloat
- Specified by:
setFloatin classByteBuf- Mappings:
Namespace Name Mixin selector official setFloatLnx;setFloat(IF)Lio/netty/buffer/ByteBuf;intermediary setFloatLnet/minecraft/class_2540;setFloat(IF)Lio/netty/buffer/ByteBuf;named setFloatLnet/minecraft/network/PacketByteBuf;setFloat(IF)Lio/netty/buffer/ByteBuf;
-
setDouble
- Specified by:
setDoublein classByteBuf- Mappings:
Namespace Name Mixin selector official setDoubleLnx;setDouble(ID)Lio/netty/buffer/ByteBuf;intermediary setDoubleLnet/minecraft/class_2540;setDouble(ID)Lio/netty/buffer/ByteBuf;named setDoubleLnet/minecraft/network/PacketByteBuf;setDouble(ID)Lio/netty/buffer/ByteBuf;
-
setBytes
- Specified by:
setBytesin classByteBuf- Mappings:
Namespace Name Mixin selector official setBytesLnx;setBytes(ILio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf;intermediary setBytesLnet/minecraft/class_2540;setBytes(ILio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf;named setBytesLnet/minecraft/network/PacketByteBuf;setBytes(ILio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf;
-
setBytes
- Specified by:
setBytesin classByteBuf- Mappings:
Namespace Name Mixin selector official setBytesLnx;setBytes(ILio/netty/buffer/ByteBuf;I)Lio/netty/buffer/ByteBuf;intermediary setBytesLnet/minecraft/class_2540;setBytes(ILio/netty/buffer/ByteBuf;I)Lio/netty/buffer/ByteBuf;named setBytesLnet/minecraft/network/PacketByteBuf;setBytes(ILio/netty/buffer/ByteBuf;I)Lio/netty/buffer/ByteBuf;
-
setBytes
- Specified by:
setBytesin classByteBuf- Mappings:
Namespace Name Mixin selector official setBytesLnx;setBytes(ILio/netty/buffer/ByteBuf;II)Lio/netty/buffer/ByteBuf;intermediary setBytesLnet/minecraft/class_2540;setBytes(ILio/netty/buffer/ByteBuf;II)Lio/netty/buffer/ByteBuf;named setBytesLnet/minecraft/network/PacketByteBuf;setBytes(ILio/netty/buffer/ByteBuf;II)Lio/netty/buffer/ByteBuf;
-
setBytes
- Specified by:
setBytesin classByteBuf- Mappings:
Namespace Name Mixin selector official setBytesLnx;setBytes(I[B)Lio/netty/buffer/ByteBuf;intermediary setBytesLnet/minecraft/class_2540;setBytes(I[B)Lio/netty/buffer/ByteBuf;named setBytesLnet/minecraft/network/PacketByteBuf;setBytes(I[B)Lio/netty/buffer/ByteBuf;
-
setBytes
- Specified by:
setBytesin classByteBuf- Mappings:
Namespace Name Mixin selector official setBytesLnx;setBytes(I[BII)Lio/netty/buffer/ByteBuf;intermediary setBytesLnet/minecraft/class_2540;setBytes(I[BII)Lio/netty/buffer/ByteBuf;named setBytesLnet/minecraft/network/PacketByteBuf;setBytes(I[BII)Lio/netty/buffer/ByteBuf;
-
setBytes
- Specified by:
setBytesin classByteBuf- Mappings:
Namespace Name Mixin selector official setBytesLnx;setBytes(ILjava/nio/ByteBuffer;)Lio/netty/buffer/ByteBuf;intermediary setBytesLnet/minecraft/class_2540;setBytes(ILjava/nio/ByteBuffer;)Lio/netty/buffer/ByteBuf;named setBytesLnet/minecraft/network/PacketByteBuf;setBytes(ILjava/nio/ByteBuffer;)Lio/netty/buffer/ByteBuf;
-
setBytes
- Specified by:
setBytesin classByteBuf- Throws:
IOException- Mappings:
Namespace Name Mixin selector official setBytesLnx;setBytes(ILjava/io/InputStream;I)Iintermediary setBytesLnet/minecraft/class_2540;setBytes(ILjava/io/InputStream;I)Inamed setBytesLnet/minecraft/network/PacketByteBuf;setBytes(ILjava/io/InputStream;I)I
-
setBytes
public int setBytes(int int2, ScatteringByteChannel scatteringByteChannel, int int3) throws IOException- Specified by:
setBytesin classByteBuf- Throws:
IOException- Mappings:
Namespace Name Mixin selector official setBytesLnx;setBytes(ILjava/nio/channels/ScatteringByteChannel;I)Iintermediary setBytesLnet/minecraft/class_2540;setBytes(ILjava/nio/channels/ScatteringByteChannel;I)Inamed setBytesLnet/minecraft/network/PacketByteBuf;setBytes(ILjava/nio/channels/ScatteringByteChannel;I)I
-
setBytes
- Specified by:
setBytesin classByteBuf- Throws:
IOException- Mappings:
Namespace Name Mixin selector official setBytesLnx;setBytes(ILjava/nio/channels/FileChannel;JI)Iintermediary setBytesLnet/minecraft/class_2540;setBytes(ILjava/nio/channels/FileChannel;JI)Inamed setBytesLnet/minecraft/network/PacketByteBuf;setBytes(ILjava/nio/channels/FileChannel;JI)I
-
setZero
- Specified by:
setZeroin classByteBuf- Mappings:
Namespace Name Mixin selector official setZeroLnx;setZero(II)Lio/netty/buffer/ByteBuf;intermediary setZeroLnet/minecraft/class_2540;setZero(II)Lio/netty/buffer/ByteBuf;named setZeroLnet/minecraft/network/PacketByteBuf;setZero(II)Lio/netty/buffer/ByteBuf;
-
setCharSequence
- Specified by:
setCharSequencein classByteBuf- Mappings:
Namespace Name Mixin selector official setCharSequenceLnx;setCharSequence(ILjava/lang/CharSequence;Ljava/nio/charset/Charset;)Iintermediary setCharSequenceLnet/minecraft/class_2540;setCharSequence(ILjava/lang/CharSequence;Ljava/nio/charset/Charset;)Inamed setCharSequenceLnet/minecraft/network/PacketByteBuf;setCharSequence(ILjava/lang/CharSequence;Ljava/nio/charset/Charset;)I
-
readBoolean
public boolean readBoolean()- Specified by:
readBooleanin classByteBuf- Mappings:
Namespace Name Mixin selector official readBooleanLnx;readBoolean()Zintermediary readBooleanLnet/minecraft/class_2540;readBoolean()Znamed readBooleanLnet/minecraft/network/PacketByteBuf;readBoolean()Z
-
readByte
public byte readByte() -
readUnsignedByte
public short readUnsignedByte()- Specified by:
readUnsignedBytein classByteBuf- Mappings:
Namespace Name Mixin selector official readUnsignedByteLnx;readUnsignedByte()Sintermediary readUnsignedByteLnet/minecraft/class_2540;readUnsignedByte()Snamed readUnsignedByteLnet/minecraft/network/PacketByteBuf;readUnsignedByte()S
-
readShort
public short readShort() -
readShortLE
public short readShortLE()- Specified by:
readShortLEin classByteBuf- Mappings:
Namespace Name Mixin selector official readShortLELnx;readShortLE()Sintermediary readShortLELnet/minecraft/class_2540;readShortLE()Snamed readShortLELnet/minecraft/network/PacketByteBuf;readShortLE()S
-
readUnsignedShort
public int readUnsignedShort()- Specified by:
readUnsignedShortin classByteBuf- Mappings:
Namespace Name Mixin selector official readUnsignedShortLnx;readUnsignedShort()Iintermediary readUnsignedShortLnet/minecraft/class_2540;readUnsignedShort()Inamed readUnsignedShortLnet/minecraft/network/PacketByteBuf;readUnsignedShort()I
-
readUnsignedShortLE
public int readUnsignedShortLE()- Specified by:
readUnsignedShortLEin classByteBuf- Mappings:
Namespace Name Mixin selector official readUnsignedShortLELnx;readUnsignedShortLE()Iintermediary readUnsignedShortLELnet/minecraft/class_2540;readUnsignedShortLE()Inamed readUnsignedShortLELnet/minecraft/network/PacketByteBuf;readUnsignedShortLE()I
-
readMedium
public int readMedium()- Specified by:
readMediumin classByteBuf- Mappings:
Namespace Name Mixin selector official readMediumLnx;readMedium()Iintermediary readMediumLnet/minecraft/class_2540;readMedium()Inamed readMediumLnet/minecraft/network/PacketByteBuf;readMedium()I
-
readMediumLE
public int readMediumLE()- Specified by:
readMediumLEin classByteBuf- Mappings:
Namespace Name Mixin selector official readMediumLELnx;readMediumLE()Iintermediary readMediumLELnet/minecraft/class_2540;readMediumLE()Inamed readMediumLELnet/minecraft/network/PacketByteBuf;readMediumLE()I
-
readUnsignedMedium
public int readUnsignedMedium()- Specified by:
readUnsignedMediumin classByteBuf- Mappings:
Namespace Name Mixin selector official readUnsignedMediumLnx;readUnsignedMedium()Iintermediary readUnsignedMediumLnet/minecraft/class_2540;readUnsignedMedium()Inamed readUnsignedMediumLnet/minecraft/network/PacketByteBuf;readUnsignedMedium()I
-
readUnsignedMediumLE
public int readUnsignedMediumLE()- Specified by:
readUnsignedMediumLEin classByteBuf- Mappings:
Namespace Name Mixin selector official readUnsignedMediumLELnx;readUnsignedMediumLE()Iintermediary readUnsignedMediumLELnet/minecraft/class_2540;readUnsignedMediumLE()Inamed readUnsignedMediumLELnet/minecraft/network/PacketByteBuf;readUnsignedMediumLE()I
-
readInt
public int readInt() -
readIntLE
public int readIntLE() -
readUnsignedInt
public long readUnsignedInt()- Specified by:
readUnsignedIntin classByteBuf- Mappings:
Namespace Name Mixin selector official readUnsignedIntLnx;readUnsignedInt()Jintermediary readUnsignedIntLnet/minecraft/class_2540;readUnsignedInt()Jnamed readUnsignedIntLnet/minecraft/network/PacketByteBuf;readUnsignedInt()J
-
readUnsignedIntLE
public long readUnsignedIntLE()- Specified by:
readUnsignedIntLEin classByteBuf- Mappings:
Namespace Name Mixin selector official readUnsignedIntLELnx;readUnsignedIntLE()Jintermediary readUnsignedIntLELnet/minecraft/class_2540;readUnsignedIntLE()Jnamed readUnsignedIntLELnet/minecraft/network/PacketByteBuf;readUnsignedIntLE()J
-
readLong
public long readLong() -
readLongLE
public long readLongLE()- Specified by:
readLongLEin classByteBuf- Mappings:
Namespace Name Mixin selector official readLongLELnx;readLongLE()Jintermediary readLongLELnet/minecraft/class_2540;readLongLE()Jnamed readLongLELnet/minecraft/network/PacketByteBuf;readLongLE()J
-
readChar
public char readChar() -
readFloat
public float readFloat() -
readDouble
public double readDouble()- Specified by:
readDoublein classByteBuf- Mappings:
Namespace Name Mixin selector official readDoubleLnx;readDouble()Dintermediary readDoubleLnet/minecraft/class_2540;readDouble()Dnamed readDoubleLnet/minecraft/network/PacketByteBuf;readDouble()D
-
readBytes
- Specified by:
readBytesin classByteBuf- Mappings:
Namespace Name Mixin selector official readBytesLnx;readBytes(I)Lio/netty/buffer/ByteBuf;intermediary readBytesLnet/minecraft/class_2540;readBytes(I)Lio/netty/buffer/ByteBuf;named readBytesLnet/minecraft/network/PacketByteBuf;readBytes(I)Lio/netty/buffer/ByteBuf;
-
readSlice
- Specified by:
readSlicein classByteBuf- Mappings:
Namespace Name Mixin selector official readSliceLnx;readSlice(I)Lio/netty/buffer/ByteBuf;intermediary readSliceLnet/minecraft/class_2540;readSlice(I)Lio/netty/buffer/ByteBuf;named readSliceLnet/minecraft/network/PacketByteBuf;readSlice(I)Lio/netty/buffer/ByteBuf;
-
readRetainedSlice
- Specified by:
readRetainedSlicein classByteBuf- Mappings:
Namespace Name Mixin selector official readRetainedSliceLnx;readRetainedSlice(I)Lio/netty/buffer/ByteBuf;intermediary readRetainedSliceLnet/minecraft/class_2540;readRetainedSlice(I)Lio/netty/buffer/ByteBuf;named readRetainedSliceLnet/minecraft/network/PacketByteBuf;readRetainedSlice(I)Lio/netty/buffer/ByteBuf;
-
readBytes
- Specified by:
readBytesin classByteBuf- Mappings:
Namespace Name Mixin selector official readBytesLnx;readBytes(Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf;intermediary readBytesLnet/minecraft/class_2540;readBytes(Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf;named readBytesLnet/minecraft/network/PacketByteBuf;readBytes(Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf;
-
readBytes
- Specified by:
readBytesin classByteBuf- Mappings:
Namespace Name Mixin selector official readBytesLnx;readBytes(Lio/netty/buffer/ByteBuf;I)Lio/netty/buffer/ByteBuf;intermediary readBytesLnet/minecraft/class_2540;readBytes(Lio/netty/buffer/ByteBuf;I)Lio/netty/buffer/ByteBuf;named readBytesLnet/minecraft/network/PacketByteBuf;readBytes(Lio/netty/buffer/ByteBuf;I)Lio/netty/buffer/ByteBuf;
-
readBytes
- Specified by:
readBytesin classByteBuf- Mappings:
Namespace Name Mixin selector official readBytesLnx;readBytes(Lio/netty/buffer/ByteBuf;II)Lio/netty/buffer/ByteBuf;intermediary readBytesLnet/minecraft/class_2540;readBytes(Lio/netty/buffer/ByteBuf;II)Lio/netty/buffer/ByteBuf;named readBytesLnet/minecraft/network/PacketByteBuf;readBytes(Lio/netty/buffer/ByteBuf;II)Lio/netty/buffer/ByteBuf;
-
readBytes
- Specified by:
readBytesin classByteBuf- Mappings:
Namespace Name Mixin selector official readBytesLnx;readBytes([B)Lio/netty/buffer/ByteBuf;intermediary readBytesLnet/minecraft/class_2540;readBytes([B)Lio/netty/buffer/ByteBuf;named readBytesLnet/minecraft/network/PacketByteBuf;readBytes([B)Lio/netty/buffer/ByteBuf;
-
readBytes
- Specified by:
readBytesin classByteBuf- Mappings:
Namespace Name Mixin selector official readBytesLnx;readBytes([BII)Lio/netty/buffer/ByteBuf;intermediary readBytesLnet/minecraft/class_2540;readBytes([BII)Lio/netty/buffer/ByteBuf;named readBytesLnet/minecraft/network/PacketByteBuf;readBytes([BII)Lio/netty/buffer/ByteBuf;
-
readBytes
- Specified by:
readBytesin classByteBuf- Mappings:
Namespace Name Mixin selector official readBytesLnx;readBytes(Ljava/nio/ByteBuffer;)Lio/netty/buffer/ByteBuf;intermediary readBytesLnet/minecraft/class_2540;readBytes(Ljava/nio/ByteBuffer;)Lio/netty/buffer/ByteBuf;named readBytesLnet/minecraft/network/PacketByteBuf;readBytes(Ljava/nio/ByteBuffer;)Lio/netty/buffer/ByteBuf;
-
readBytes
- Specified by:
readBytesin classByteBuf- Throws:
IOException- Mappings:
Namespace Name Mixin selector official readBytesLnx;readBytes(Ljava/io/OutputStream;I)Lio/netty/buffer/ByteBuf;intermediary readBytesLnet/minecraft/class_2540;readBytes(Ljava/io/OutputStream;I)Lio/netty/buffer/ByteBuf;named readBytesLnet/minecraft/network/PacketByteBuf;readBytes(Ljava/io/OutputStream;I)Lio/netty/buffer/ByteBuf;
-
readBytes
- Specified by:
readBytesin classByteBuf- Throws:
IOException- Mappings:
Namespace Name Mixin selector official readBytesLnx;readBytes(Ljava/nio/channels/GatheringByteChannel;I)Iintermediary readBytesLnet/minecraft/class_2540;readBytes(Ljava/nio/channels/GatheringByteChannel;I)Inamed readBytesLnet/minecraft/network/PacketByteBuf;readBytes(Ljava/nio/channels/GatheringByteChannel;I)I
-
readCharSequence
- Specified by:
readCharSequencein classByteBuf- Mappings:
Namespace Name Mixin selector official readCharSequenceLnx;readCharSequence(ILjava/nio/charset/Charset;)Ljava/lang/CharSequence;intermediary readCharSequenceLnet/minecraft/class_2540;readCharSequence(ILjava/nio/charset/Charset;)Ljava/lang/CharSequence;named readCharSequenceLnet/minecraft/network/PacketByteBuf;readCharSequence(ILjava/nio/charset/Charset;)Ljava/lang/CharSequence;
-
readBytes
- Specified by:
readBytesin classByteBuf- Throws:
IOException- Mappings:
Namespace Name Mixin selector official readBytesLnx;readBytes(Ljava/nio/channels/FileChannel;JI)Iintermediary readBytesLnet/minecraft/class_2540;readBytes(Ljava/nio/channels/FileChannel;JI)Inamed readBytesLnet/minecraft/network/PacketByteBuf;readBytes(Ljava/nio/channels/FileChannel;JI)I
-
skipBytes
- Specified by:
skipBytesin classByteBuf- Mappings:
Namespace Name Mixin selector official skipBytesLnx;skipBytes(I)Lio/netty/buffer/ByteBuf;intermediary skipBytesLnet/minecraft/class_2540;skipBytes(I)Lio/netty/buffer/ByteBuf;named skipBytesLnet/minecraft/network/PacketByteBuf;skipBytes(I)Lio/netty/buffer/ByteBuf;
-
writeBoolean
- Specified by:
writeBooleanin classByteBuf- Mappings:
Namespace Name Mixin selector official writeBooleanLnx;writeBoolean(Z)Lio/netty/buffer/ByteBuf;intermediary writeBooleanLnet/minecraft/class_2540;writeBoolean(Z)Lio/netty/buffer/ByteBuf;named writeBooleanLnet/minecraft/network/PacketByteBuf;writeBoolean(Z)Lio/netty/buffer/ByteBuf;
-
writeByte
- Specified by:
writeBytein classByteBuf- Mappings:
Namespace Name Mixin selector official writeByteLnx;writeByte(I)Lio/netty/buffer/ByteBuf;intermediary writeByteLnet/minecraft/class_2540;writeByte(I)Lio/netty/buffer/ByteBuf;named writeByteLnet/minecraft/network/PacketByteBuf;writeByte(I)Lio/netty/buffer/ByteBuf;
-
writeShort
- Specified by:
writeShortin classByteBuf- Mappings:
Namespace Name Mixin selector official writeShortLnx;writeShort(I)Lio/netty/buffer/ByteBuf;intermediary writeShortLnet/minecraft/class_2540;writeShort(I)Lio/netty/buffer/ByteBuf;named writeShortLnet/minecraft/network/PacketByteBuf;writeShort(I)Lio/netty/buffer/ByteBuf;
-
writeShortLE
- Specified by:
writeShortLEin classByteBuf- Mappings:
Namespace Name Mixin selector official writeShortLELnx;writeShortLE(I)Lio/netty/buffer/ByteBuf;intermediary writeShortLELnet/minecraft/class_2540;writeShortLE(I)Lio/netty/buffer/ByteBuf;named writeShortLELnet/minecraft/network/PacketByteBuf;writeShortLE(I)Lio/netty/buffer/ByteBuf;
-
writeMedium
- Specified by:
writeMediumin classByteBuf- Mappings:
Namespace Name Mixin selector official writeMediumLnx;writeMedium(I)Lio/netty/buffer/ByteBuf;intermediary writeMediumLnet/minecraft/class_2540;writeMedium(I)Lio/netty/buffer/ByteBuf;named writeMediumLnet/minecraft/network/PacketByteBuf;writeMedium(I)Lio/netty/buffer/ByteBuf;
-
writeMediumLE
- Specified by:
writeMediumLEin classByteBuf- Mappings:
Namespace Name Mixin selector official writeMediumLELnx;writeMediumLE(I)Lio/netty/buffer/ByteBuf;intermediary writeMediumLELnet/minecraft/class_2540;writeMediumLE(I)Lio/netty/buffer/ByteBuf;named writeMediumLELnet/minecraft/network/PacketByteBuf;writeMediumLE(I)Lio/netty/buffer/ByteBuf;
-
writeInt
- Specified by:
writeIntin classByteBuf- Mappings:
Namespace Name Mixin selector official writeIntLnx;writeInt(I)Lio/netty/buffer/ByteBuf;intermediary writeIntLnet/minecraft/class_2540;writeInt(I)Lio/netty/buffer/ByteBuf;named writeIntLnet/minecraft/network/PacketByteBuf;writeInt(I)Lio/netty/buffer/ByteBuf;
-
writeIntLE
- Specified by:
writeIntLEin classByteBuf- Mappings:
Namespace Name Mixin selector official writeIntLELnx;writeIntLE(I)Lio/netty/buffer/ByteBuf;intermediary writeIntLELnet/minecraft/class_2540;writeIntLE(I)Lio/netty/buffer/ByteBuf;named writeIntLELnet/minecraft/network/PacketByteBuf;writeIntLE(I)Lio/netty/buffer/ByteBuf;
-
writeLong
- Specified by:
writeLongin classByteBuf- Mappings:
Namespace Name Mixin selector official writeLongLnx;writeLong(J)Lio/netty/buffer/ByteBuf;intermediary writeLongLnet/minecraft/class_2540;writeLong(J)Lio/netty/buffer/ByteBuf;named writeLongLnet/minecraft/network/PacketByteBuf;writeLong(J)Lio/netty/buffer/ByteBuf;
-
writeLongLE
- Specified by:
writeLongLEin classByteBuf- Mappings:
Namespace Name Mixin selector official writeLongLELnx;writeLongLE(J)Lio/netty/buffer/ByteBuf;intermediary writeLongLELnet/minecraft/class_2540;writeLongLE(J)Lio/netty/buffer/ByteBuf;named writeLongLELnet/minecraft/network/PacketByteBuf;writeLongLE(J)Lio/netty/buffer/ByteBuf;
-
writeChar
- Specified by:
writeCharin classByteBuf- Mappings:
Namespace Name Mixin selector official writeCharLnx;writeChar(I)Lio/netty/buffer/ByteBuf;intermediary writeCharLnet/minecraft/class_2540;writeChar(I)Lio/netty/buffer/ByteBuf;named writeCharLnet/minecraft/network/PacketByteBuf;writeChar(I)Lio/netty/buffer/ByteBuf;
-
writeFloat
- Specified by:
writeFloatin classByteBuf- Mappings:
Namespace Name Mixin selector official writeFloatLnx;writeFloat(F)Lio/netty/buffer/ByteBuf;intermediary writeFloatLnet/minecraft/class_2540;writeFloat(F)Lio/netty/buffer/ByteBuf;named writeFloatLnet/minecraft/network/PacketByteBuf;writeFloat(F)Lio/netty/buffer/ByteBuf;
-
writeDouble
- Specified by:
writeDoublein classByteBuf- Mappings:
Namespace Name Mixin selector official writeDoubleLnx;writeDouble(D)Lio/netty/buffer/ByteBuf;intermediary writeDoubleLnet/minecraft/class_2540;writeDouble(D)Lio/netty/buffer/ByteBuf;named writeDoubleLnet/minecraft/network/PacketByteBuf;writeDouble(D)Lio/netty/buffer/ByteBuf;
-
writeBytes
- Specified by:
writeBytesin classByteBuf- Mappings:
Namespace Name Mixin selector official writeBytesLnx;writeBytes(Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf;intermediary writeBytesLnet/minecraft/class_2540;writeBytes(Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf;named writeBytesLnet/minecraft/network/PacketByteBuf;writeBytes(Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf;
-
writeBytes
- Specified by:
writeBytesin classByteBuf- Mappings:
Namespace Name Mixin selector official writeBytesLnx;writeBytes(Lio/netty/buffer/ByteBuf;I)Lio/netty/buffer/ByteBuf;intermediary writeBytesLnet/minecraft/class_2540;writeBytes(Lio/netty/buffer/ByteBuf;I)Lio/netty/buffer/ByteBuf;named writeBytesLnet/minecraft/network/PacketByteBuf;writeBytes(Lio/netty/buffer/ByteBuf;I)Lio/netty/buffer/ByteBuf;
-
writeBytes
- Specified by:
writeBytesin classByteBuf- Mappings:
Namespace Name Mixin selector official writeBytesLnx;writeBytes(Lio/netty/buffer/ByteBuf;II)Lio/netty/buffer/ByteBuf;intermediary writeBytesLnet/minecraft/class_2540;writeBytes(Lio/netty/buffer/ByteBuf;II)Lio/netty/buffer/ByteBuf;named writeBytesLnet/minecraft/network/PacketByteBuf;writeBytes(Lio/netty/buffer/ByteBuf;II)Lio/netty/buffer/ByteBuf;
-
writeBytes
- Specified by:
writeBytesin classByteBuf- Mappings:
Namespace Name Mixin selector official writeBytesLnx;writeBytes([B)Lio/netty/buffer/ByteBuf;intermediary writeBytesLnet/minecraft/class_2540;writeBytes([B)Lio/netty/buffer/ByteBuf;named writeBytesLnet/minecraft/network/PacketByteBuf;writeBytes([B)Lio/netty/buffer/ByteBuf;
-
writeBytes
- Specified by:
writeBytesin classByteBuf- Mappings:
Namespace Name Mixin selector official writeBytesLnx;writeBytes([BII)Lio/netty/buffer/ByteBuf;intermediary writeBytesLnet/minecraft/class_2540;writeBytes([BII)Lio/netty/buffer/ByteBuf;named writeBytesLnet/minecraft/network/PacketByteBuf;writeBytes([BII)Lio/netty/buffer/ByteBuf;
-
writeBytes
- Specified by:
writeBytesin classByteBuf- Mappings:
Namespace Name Mixin selector official writeBytesLnx;writeBytes(Ljava/nio/ByteBuffer;)Lio/netty/buffer/ByteBuf;intermediary writeBytesLnet/minecraft/class_2540;writeBytes(Ljava/nio/ByteBuffer;)Lio/netty/buffer/ByteBuf;named writeBytesLnet/minecraft/network/PacketByteBuf;writeBytes(Ljava/nio/ByteBuffer;)Lio/netty/buffer/ByteBuf;
-
writeBytes
- Specified by:
writeBytesin classByteBuf- Throws:
IOException- Mappings:
Namespace Name Mixin selector official writeBytesLnx;writeBytes(Ljava/io/InputStream;I)Iintermediary writeBytesLnet/minecraft/class_2540;writeBytes(Ljava/io/InputStream;I)Inamed writeBytesLnet/minecraft/network/PacketByteBuf;writeBytes(Ljava/io/InputStream;I)I
-
writeBytes
- Specified by:
writeBytesin classByteBuf- Throws:
IOException- Mappings:
Namespace Name Mixin selector official writeBytesLnx;writeBytes(Ljava/nio/channels/ScatteringByteChannel;I)Iintermediary writeBytesLnet/minecraft/class_2540;writeBytes(Ljava/nio/channels/ScatteringByteChannel;I)Inamed writeBytesLnet/minecraft/network/PacketByteBuf;writeBytes(Ljava/nio/channels/ScatteringByteChannel;I)I
-
writeBytes
- Specified by:
writeBytesin classByteBuf- Throws:
IOException- Mappings:
Namespace Name Mixin selector official writeBytesLnx;writeBytes(Ljava/nio/channels/FileChannel;JI)Iintermediary writeBytesLnet/minecraft/class_2540;writeBytes(Ljava/nio/channels/FileChannel;JI)Inamed writeBytesLnet/minecraft/network/PacketByteBuf;writeBytes(Ljava/nio/channels/FileChannel;JI)I
-
writeZero
- Specified by:
writeZeroin classByteBuf- Mappings:
Namespace Name Mixin selector official writeZeroLnx;writeZero(I)Lio/netty/buffer/ByteBuf;intermediary writeZeroLnet/minecraft/class_2540;writeZero(I)Lio/netty/buffer/ByteBuf;named writeZeroLnet/minecraft/network/PacketByteBuf;writeZero(I)Lio/netty/buffer/ByteBuf;
-
writeCharSequence
- Specified by:
writeCharSequencein classByteBuf- Mappings:
Namespace Name Mixin selector official writeCharSequenceLnx;writeCharSequence(Ljava/lang/CharSequence;Ljava/nio/charset/Charset;)Iintermediary writeCharSequenceLnet/minecraft/class_2540;writeCharSequence(Ljava/lang/CharSequence;Ljava/nio/charset/Charset;)Inamed writeCharSequenceLnet/minecraft/network/PacketByteBuf;writeCharSequence(Ljava/lang/CharSequence;Ljava/nio/charset/Charset;)I
-
indexOf
public int indexOf(int int2, int int3, byte byte2) -
bytesBefore
public int bytesBefore(byte byte2)- Specified by:
bytesBeforein classByteBuf- Mappings:
Namespace Name Mixin selector official bytesBeforeLnx;bytesBefore(B)Iintermediary bytesBeforeLnet/minecraft/class_2540;bytesBefore(B)Inamed bytesBeforeLnet/minecraft/network/PacketByteBuf;bytesBefore(B)I
-
bytesBefore
public int bytesBefore(int int2, byte byte2)- Specified by:
bytesBeforein classByteBuf- Mappings:
Namespace Name Mixin selector official bytesBeforeLnx;bytesBefore(IB)Iintermediary bytesBeforeLnet/minecraft/class_2540;bytesBefore(IB)Inamed bytesBeforeLnet/minecraft/network/PacketByteBuf;bytesBefore(IB)I
-
bytesBefore
public int bytesBefore(int int2, int int3, byte byte2)- Specified by:
bytesBeforein classByteBuf- Mappings:
Namespace Name Mixin selector official bytesBeforeLnx;bytesBefore(IIB)Iintermediary bytesBeforeLnet/minecraft/class_2540;bytesBefore(IIB)Inamed bytesBeforeLnet/minecraft/network/PacketByteBuf;bytesBefore(IIB)I
-
forEachByte
- Specified by:
forEachBytein classByteBuf- Mappings:
Namespace Name Mixin selector official forEachByteLnx;forEachByte(Lio/netty/util/ByteProcessor;)Iintermediary forEachByteLnet/minecraft/class_2540;forEachByte(Lio/netty/util/ByteProcessor;)Inamed forEachByteLnet/minecraft/network/PacketByteBuf;forEachByte(Lio/netty/util/ByteProcessor;)I
-
forEachByte
- Specified by:
forEachBytein classByteBuf- Mappings:
Namespace Name Mixin selector official forEachByteLnx;forEachByte(IILio/netty/util/ByteProcessor;)Iintermediary forEachByteLnet/minecraft/class_2540;forEachByte(IILio/netty/util/ByteProcessor;)Inamed forEachByteLnet/minecraft/network/PacketByteBuf;forEachByte(IILio/netty/util/ByteProcessor;)I
-
forEachByteDesc
- Specified by:
forEachByteDescin classByteBuf- Mappings:
Namespace Name Mixin selector official forEachByteDescLnx;forEachByteDesc(Lio/netty/util/ByteProcessor;)Iintermediary forEachByteDescLnet/minecraft/class_2540;forEachByteDesc(Lio/netty/util/ByteProcessor;)Inamed forEachByteDescLnet/minecraft/network/PacketByteBuf;forEachByteDesc(Lio/netty/util/ByteProcessor;)I
-
forEachByteDesc
- Specified by:
forEachByteDescin classByteBuf- Mappings:
Namespace Name Mixin selector official forEachByteDescLnx;forEachByteDesc(IILio/netty/util/ByteProcessor;)Iintermediary forEachByteDescLnet/minecraft/class_2540;forEachByteDesc(IILio/netty/util/ByteProcessor;)Inamed forEachByteDescLnet/minecraft/network/PacketByteBuf;forEachByteDesc(IILio/netty/util/ByteProcessor;)I
-
copy
-
copy
-
slice
-
retainedSlice
- Specified by:
retainedSlicein classByteBuf- Mappings:
Namespace Name Mixin selector official retainedSliceLnx;retainedSlice()Lio/netty/buffer/ByteBuf;intermediary retainedSliceLnet/minecraft/class_2540;retainedSlice()Lio/netty/buffer/ByteBuf;named retainedSliceLnet/minecraft/network/PacketByteBuf;retainedSlice()Lio/netty/buffer/ByteBuf;
-
slice
-
retainedSlice
- Specified by:
retainedSlicein classByteBuf- Mappings:
Namespace Name Mixin selector official retainedSliceLnx;retainedSlice(II)Lio/netty/buffer/ByteBuf;intermediary retainedSliceLnet/minecraft/class_2540;retainedSlice(II)Lio/netty/buffer/ByteBuf;named retainedSliceLnet/minecraft/network/PacketByteBuf;retainedSlice(II)Lio/netty/buffer/ByteBuf;
-
duplicate
- Specified by:
duplicatein classByteBuf- Mappings:
Namespace Name Mixin selector official duplicateLnx;duplicate()Lio/netty/buffer/ByteBuf;intermediary duplicateLnet/minecraft/class_2540;duplicate()Lio/netty/buffer/ByteBuf;named duplicateLnet/minecraft/network/PacketByteBuf;duplicate()Lio/netty/buffer/ByteBuf;
-
retainedDuplicate
- Specified by:
retainedDuplicatein classByteBuf- Mappings:
Namespace Name Mixin selector official retainedDuplicateLnx;retainedDuplicate()Lio/netty/buffer/ByteBuf;intermediary retainedDuplicateLnet/minecraft/class_2540;retainedDuplicate()Lio/netty/buffer/ByteBuf;named retainedDuplicateLnet/minecraft/network/PacketByteBuf;retainedDuplicate()Lio/netty/buffer/ByteBuf;
-
nioBufferCount
public int nioBufferCount()- Specified by:
nioBufferCountin classByteBuf- Mappings:
Namespace Name Mixin selector official nioBufferCountLnx;nioBufferCount()Iintermediary nioBufferCountLnet/minecraft/class_2540;nioBufferCount()Inamed nioBufferCountLnet/minecraft/network/PacketByteBuf;nioBufferCount()I
-
nioBuffer
- Specified by:
nioBufferin classByteBuf- Mappings:
Namespace Name Mixin selector official nioBufferLnx;nioBuffer()Ljava/nio/ByteBuffer;intermediary nioBufferLnet/minecraft/class_2540;nioBuffer()Ljava/nio/ByteBuffer;named nioBufferLnet/minecraft/network/PacketByteBuf;nioBuffer()Ljava/nio/ByteBuffer;
-
nioBuffer
- Specified by:
nioBufferin classByteBuf- Mappings:
Namespace Name Mixin selector official nioBufferLnx;nioBuffer(II)Ljava/nio/ByteBuffer;intermediary nioBufferLnet/minecraft/class_2540;nioBuffer(II)Ljava/nio/ByteBuffer;named nioBufferLnet/minecraft/network/PacketByteBuf;nioBuffer(II)Ljava/nio/ByteBuffer;
-
internalNioBuffer
- Specified by:
internalNioBufferin classByteBuf- Mappings:
Namespace Name Mixin selector official internalNioBufferLnx;internalNioBuffer(II)Ljava/nio/ByteBuffer;intermediary internalNioBufferLnet/minecraft/class_2540;internalNioBuffer(II)Ljava/nio/ByteBuffer;named internalNioBufferLnet/minecraft/network/PacketByteBuf;internalNioBuffer(II)Ljava/nio/ByteBuffer;
-
nioBuffers
- Specified by:
nioBuffersin classByteBuf- Mappings:
Namespace Name Mixin selector official nioBuffersLnx;nioBuffers()[Ljava/nio/ByteBuffer;intermediary nioBuffersLnet/minecraft/class_2540;nioBuffers()[Ljava/nio/ByteBuffer;named nioBuffersLnet/minecraft/network/PacketByteBuf;nioBuffers()[Ljava/nio/ByteBuffer;
-
nioBuffers
- Specified by:
nioBuffersin classByteBuf- Mappings:
Namespace Name Mixin selector official nioBuffersLnx;nioBuffers(II)[Ljava/nio/ByteBuffer;intermediary nioBuffersLnet/minecraft/class_2540;nioBuffers(II)[Ljava/nio/ByteBuffer;named nioBuffersLnet/minecraft/network/PacketByteBuf;nioBuffers(II)[Ljava/nio/ByteBuffer;
-
hasArray
public boolean hasArray() -
array
public byte[] array() -
arrayOffset
public int arrayOffset()- Specified by:
arrayOffsetin classByteBuf- Mappings:
Namespace Name Mixin selector official arrayOffsetLnx;arrayOffset()Iintermediary arrayOffsetLnet/minecraft/class_2540;arrayOffset()Inamed arrayOffsetLnet/minecraft/network/PacketByteBuf;arrayOffset()I
-
hasMemoryAddress
public boolean hasMemoryAddress()- Specified by:
hasMemoryAddressin classByteBuf- Mappings:
Namespace Name Mixin selector official hasMemoryAddressLnx;hasMemoryAddress()Zintermediary hasMemoryAddressLnet/minecraft/class_2540;hasMemoryAddress()Znamed hasMemoryAddressLnet/minecraft/network/PacketByteBuf;hasMemoryAddress()Z
-
memoryAddress
public long memoryAddress()- Specified by:
memoryAddressin classByteBuf- Mappings:
Namespace Name Mixin selector official memoryAddressLnx;memoryAddress()Jintermediary memoryAddressLnet/minecraft/class_2540;memoryAddress()Jnamed memoryAddressLnet/minecraft/network/PacketByteBuf;memoryAddress()J
-
toString
- Specified by:
toStringin classByteBuf- Mappings:
Namespace Name Mixin selector official toStringLnx;toString(Ljava/nio/charset/Charset;)Ljava/lang/String;intermediary toStringLnet/minecraft/class_2540;toString(Ljava/nio/charset/Charset;)Ljava/lang/String;named toStringLnet/minecraft/network/PacketByteBuf;toString(Ljava/nio/charset/Charset;)Ljava/lang/String;
-
toString
- Specified by:
toStringin classByteBuf- Mappings:
Namespace Name Mixin selector official toStringLnx;toString(IILjava/nio/charset/Charset;)Ljava/lang/String;intermediary toStringLnet/minecraft/class_2540;toString(IILjava/nio/charset/Charset;)Ljava/lang/String;named toStringLnet/minecraft/network/PacketByteBuf;toString(IILjava/nio/charset/Charset;)Ljava/lang/String;
-
hashCode
public int hashCode() -
equals
-
compareTo
- Specified by:
compareToin interfaceComparable<ByteBuf>- Specified by:
compareToin classByteBuf- Mappings:
Namespace Name Mixin selector official compareToLnx;compareTo(Lio/netty/buffer/ByteBuf;)Iintermediary compareToLnet/minecraft/class_2540;compareTo(Lio/netty/buffer/ByteBuf;)Inamed compareToLnet/minecraft/network/PacketByteBuf;compareTo(Lio/netty/buffer/ByteBuf;)I
-
toString
-
retain
- Specified by:
retainin interfaceReferenceCounted- Specified by:
retainin classByteBuf- Mappings:
Namespace Name Mixin selector official retainLnx;retain(I)Lio/netty/buffer/ByteBuf;intermediary retainLnet/minecraft/class_2540;retain(I)Lio/netty/buffer/ByteBuf;named retainLnet/minecraft/network/PacketByteBuf;retain(I)Lio/netty/buffer/ByteBuf;
-
retain
- Specified by:
retainin interfaceReferenceCounted- Specified by:
retainin classByteBuf- Mappings:
Namespace Name Mixin selector official retainLnx;retain()Lio/netty/buffer/ByteBuf;intermediary retainLnet/minecraft/class_2540;retain()Lio/netty/buffer/ByteBuf;named retainLnet/minecraft/network/PacketByteBuf;retain()Lio/netty/buffer/ByteBuf;
-
touch
- Specified by:
touchin interfaceReferenceCounted- Specified by:
touchin classByteBuf- Mappings:
Namespace Name Mixin selector official touchLnx;touch()Lio/netty/buffer/ByteBuf;intermediary touchLnet/minecraft/class_2540;touch()Lio/netty/buffer/ByteBuf;named touchLnet/minecraft/network/PacketByteBuf;touch()Lio/netty/buffer/ByteBuf;
-
touch
- Specified by:
touchin interfaceReferenceCounted- Specified by:
touchin classByteBuf- Mappings:
Namespace Name Mixin selector official touchLnx;touch(Ljava/lang/Object;)Lio/netty/buffer/ByteBuf;intermediary touchLnet/minecraft/class_2540;touch(Ljava/lang/Object;)Lio/netty/buffer/ByteBuf;named touchLnet/minecraft/network/PacketByteBuf;touch(Ljava/lang/Object;)Lio/netty/buffer/ByteBuf;
-
refCnt
public int refCnt()- Mappings:
Namespace Name Mixin selector official refCntLnx;refCnt()Iintermediary refCntLnet/minecraft/class_2540;refCnt()Inamed refCntLnet/minecraft/network/PacketByteBuf;refCnt()I
-
release
public boolean release()- Mappings:
Namespace Name Mixin selector official releaseLnx;release()Zintermediary releaseLnet/minecraft/class_2540;release()Znamed releaseLnet/minecraft/network/PacketByteBuf;release()Z
-
release
public boolean release(int int2)- Mappings:
Namespace Name Mixin selector official releaseLnx;release(I)Zintermediary releaseLnet/minecraft/class_2540;release(I)Znamed releaseLnet/minecraft/network/PacketByteBuf;release(I)Z
-