Available Methods
- readBoolean ( )
- readVarInt ( )
- writeInt ( )
- writeBoolean ( )
- readInt ( )
- readCompoundTag ( )
- readFloat ( )
- readString ( )
- readByte ( )
- readBlockPos ( )
- writeVarInt ( )
- writeByte ( )
- writeShort ( )
- writeCompoundTag ( )
- writeBlockPos ( )
- writeFloat ( )
- writeString ( )
- writeEnumValue ( )
- readShort ( )
- readItemStack ( )
- writeDouble ( )
- readBytes ( )
- writeItemStackToBuffer ( )
- readableBytes ( )
- writeItemStack ( )
- readByteArray ( )
Related Classes
- java.util.Collections
- java.util.UUID
- org.junit.Assert
- java.lang.reflect.Type
- java.util.function.Consumer
- com.google.common.collect.ImmutableList
- javax.annotation.Nullable
- com.google.common.collect.Sets
- com.google.common.base.Preconditions
- com.google.common.base.Strings
- io.netty.buffer.ByteBuf
- io.netty.channel.ChannelHandlerContext
- io.netty.buffer.Unpooled
- org.apache.commons.lang3.tuple.Pair
- com.google.common.reflect.TypeToken
- net.minecraft.world.World
- net.minecraft.item.ItemStack
- net.minecraft.block.Block
- net.minecraft.client.Minecraft
- net.minecraft.item.Item
- net.minecraft.entity.Entity
- net.minecraft.entity.player.EntityPlayer
- net.minecraft.util.ResourceLocation
- net.minecraft.nbt.NBTTagCompound
- net.minecraft.init.Blocks
Java Code Examples for net.minecraft.network.PacketBuffer#readByteArray()
The following examples show how to use
net.minecraft.network.PacketBuffer#readByteArray() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: BitSet.java From OpenModsLib with MIT License | 4 votes |
public void readFromBuffer(PacketBuffer input) { bits = input.readByteArray(); }
Example 2
Source File: TypeRW.java From OpenModsLib with MIT License | 4 votes |
@Override public byte[] readFromStream(PacketBuffer input) { return input.readByteArray(); }
Example 3
Source File: SyncableByteArray.java From OpenModsLib with MIT License | 4 votes |
@Override public void readFromStream(PacketBuffer stream) { value = stream.readByteArray(); }