Modifier and Type | Method and Description |
---|---|
<T> T |
PacketWrapper.get(Type<T> type,
int index)
Get a part from the output
|
boolean |
PacketWrapper.is(Type type,
int index)
Check if a type is at an index
|
boolean |
PacketWrapper.isReadable(Type type,
int index)
Check if a type is at an index
|
<T> T |
PacketWrapper.passthrough(Type<T> type)
Take a value from the input and write to the output.
|
<T> T |
PacketWrapper.read(Type<T> type)
Read a type from the input.
|
<T> void |
PacketWrapper.set(Type<T> type,
int index,
T value)
Set a currently existing part in the output
|
<T> void |
PacketWrapper.write(Type<T> type,
T value)
Write a type to the output.
|
Modifier and Type | Method and Description |
---|---|
Type |
MetaType.getType()
Get the write/read type
|
Modifier and Type | Method and Description |
---|---|
Type |
MetaType1_8.getType() |
Type |
MetaType1_12.getType() |
Type |
MetaType1_9.getType() |
Type |
MetaType1_14.getType() |
Type |
MetaType1_13_2.getType() |
Type |
MetaType1_13.getType() |
Modifier and Type | Method and Description |
---|---|
@Nullable Type<T1> |
ValueTransformer.getInputType() |
Type<T2> |
ValueTransformer.getOutputType() |
Modifier and Type | Method and Description |
---|---|
void |
PacketRemapper.map(Type type)
Map a type to the same type.
|
<T1,T2> void |
PacketRemapper.map(Type<T1> oldType,
Type<T2> newType,
Function<T1,T2> transformer)
Map a type from an old type to a transformed new type.
|
<T1,T2> void |
PacketRemapper.map(Type<T1> oldType,
Type<T2> newType,
Function<T1,T2> transformer)
Map a type from an old type to a transformed new type.
|
<T1,T2> void |
PacketRemapper.map(Type<T1> oldType,
ValueTransformer<T1,T2> transformer)
Map a type from an old type to a transformed new type.
|
void |
PacketRemapper.map(Type oldType,
Type newType)
Map a type from an old type to a new type
|
void |
PacketRemapper.map(Type oldType,
Type newType)
Map a type from an old type to a new type
|
Constructor and Description |
---|
TypeRemapper(Type<T> type) |
ValueTransformer(@Nullable Type<T1> inputType,
Type<T2> outputType) |
ValueTransformer(@Nullable Type<T1> inputType,
Type<T2> outputType) |
ValueTransformer(Type<T2> outputType) |
Constructor and Description |
---|
BlockRewriter(Protocol protocol,
Type<Position> positionType) |
Modifier and Type | Class and Description |
---|---|
class |
PartialType<T,X> |
Modifier and Type | Field and Description |
---|---|
static Type<BlockChangeRecord> |
Type.BLOCK_CHANGE_RECORD |
static Type<BlockChangeRecord[]> |
Type.BLOCK_CHANGE_RECORD_ARRAY |
static Type<Boolean> |
Type.BOOLEAN |
static Type<Boolean[]> |
Type.BOOLEAN_ARRAY
Deprecated.
unreasonable overhead
|
static Type<Byte> |
Type.BYTE |
static Type<Byte[]> |
Type.BYTE_ARRAY
Deprecated.
unreasonable overhead, use BYTE_ARRAY_PRIMITIVE
|
static Type<byte[]> |
Type.BYTE_ARRAY_PRIMITIVE |
static Type<com.google.gson.JsonElement> |
Type.COMPONENT |
static Type<Double> |
Type.DOUBLE |
static Type<Double[]> |
Type.DOUBLE_ARRAY
Deprecated.
unreasonable overhead
|
static Type<Item> |
Type.FLAT_ITEM |
static Type<Item[]> |
Type.FLAT_ITEM_ARRAY |
static Type<Item[]> |
Type.FLAT_ITEM_ARRAY_VAR_INT |
static Type<Item> |
Type.FLAT_VAR_INT_ITEM |
static Type<Item[]> |
Type.FLAT_VAR_INT_ITEM_ARRAY |
static Type<Item[]> |
Type.FLAT_VAR_INT_ITEM_ARRAY_VAR_INT |
static Type<Float[]> |
Type.FLOAT_ARRAY
Deprecated.
unreasonable overhead
|
static Type<Integer> |
Type.INT |
static Type<Integer[]> |
Type.INT_ARRAY
Deprecated.
unreasonable overhead
|
static Type<Item> |
Type.ITEM |
static Type<Item[]> |
Type.ITEM_ARRAY |
static Type<Long> |
Type.LONG |
static Type<Long[]> |
Type.LONG_ARRAY
Deprecated.
unreasonable overhead
|
static Type<com.github.steveice10.opennbt.tag.builtin.CompoundTag> |
Type.NBT |
static Type<com.github.steveice10.opennbt.tag.builtin.CompoundTag[]> |
Type.NBT_ARRAY |
static Type<Void> |
Type.NOTHING |
static Type<com.google.gson.JsonElement> |
Type.OPTIONAL_COMPONENT |
static Type<Position> |
Type.OPTIONAL_POSITION |
static Type<Position> |
Type.OPTIONAL_POSITION_1_14 |
static Type<UUID> |
Type.OPTIONAL_UUID |
static Type<Integer> |
Type.OPTIONAL_VAR_INT |
static Type<Position> |
Type.POSITION |
static Type<Position> |
Type.POSITION1_14 |
static Type<byte[]> |
Type.REMAINING_BYTES |
static Type<EulerAngle> |
Type.ROTATION |
static Type<Short[]> |
Type.SHORT_ARRAY
Deprecated.
unreasonable overhead
|
static Type<String> |
Type.STRING |
static Type<String[]> |
Type.STRING_ARRAY |
static Type<Short> |
Type.UNSIGNED_BYTE |
static Type<Short[]> |
Type.UNSIGNED_BYTE_ARRAY
Deprecated.
unreasonable overhead
|
static Type<Integer> |
Type.UNSIGNED_SHORT |
static Type<Integer[]> |
Type.UNSIGNED_SHORT_ARRAY
Deprecated.
unreasonable overhead
|
static Type<UUID> |
Type.UUID |
static Type<UUID[]> |
Type.UUID_ARRAY |
static Type<UUID> |
Type.UUID_INT_ARRAY |
static Type<Integer[]> |
Type.VAR_INT_ARRAY
Deprecated.
unreasonable overhead, use VAR_INT_ARRAY_PRIMITIVE
|
static Type<int[]> |
Type.VAR_INT_ARRAY_PRIMITIVE |
static Type<Long[]> |
Type.VAR_LONG_ARRAY
Deprecated.
unreasonable overhead
|
static Type<BlockChangeRecord> |
Type.VAR_LONG_BLOCK_CHANGE_RECORD |
static Type<BlockChangeRecord[]> |
Type.VAR_LONG_BLOCK_CHANGE_RECORD_ARRAY |
static Type<Vector> |
Type.VECTOR |
static Type<VillagerData> |
Type.VILLAGER_DATA |
Modifier and Type | Method and Description |
---|---|
Class<? extends Type> |
Type.getBaseClass() |
Modifier and Type | Class and Description |
---|---|
class |
ArrayType<T> |
class |
BooleanType |
class |
ByteArrayType |
class |
ByteType |
class |
ComponentType |
class |
CustomByteType |
class |
DoubleType |
class |
FloatType |
class |
IntType |
class |
LongType |
class |
RemainingBytesType |
class |
ShortType |
class |
StringType |
class |
UnsignedByteType |
class |
UnsignedShortType |
class |
UUIDIntArrayType |
class |
UUIDType |
class |
VarIntArrayType |
class |
VarIntType |
class |
VarLongType |
class |
VoidType |
Modifier and Type | Method and Description |
---|---|
Type |
Particle.ParticleData.getType() |
Modifier and Type | Method and Description |
---|---|
void |
Particle.ParticleData.setType(Type type) |
Constructor and Description |
---|
ArrayType(Type<T> type) |
ParticleData(Type type,
Object value) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractMetaListType |
class |
BaseChunkType |
class |
BaseItemArrayType |
class |
BaseItemType |
class |
BlockChangeRecordType |
class |
EulerAngleType |
class |
FlatItemArrayType |
class |
FlatItemType |
class |
FlatVarIntItemArrayType |
class |
FlatVarIntItemType |
class |
ItemArrayType |
class |
ItemType |
class |
MetaListTypeTemplate |
class |
MetaTypeTemplate |
class |
ModernMetaListType |
class |
ModernMetaType |
class |
NBTType |
class |
OptionalComponentType |
class |
OptionalVarIntType |
class |
OptPosition1_14Type |
class |
OptPositionType |
class |
OptUUIDType |
class |
Particle1_14Type |
class |
Position1_14Type |
class |
PositionType |
class |
VarLongBlockChangeRecordType |
class |
VectorType |
class |
VillagerDataType |
Modifier and Type | Method and Description |
---|---|
protected abstract Type<Metadata> |
AbstractMetaListType.getType() |
Modifier and Type | Method and Description |
---|---|
Class<? extends Type> |
BaseChunkType.getBaseClass() |
Class<? extends Type> |
MetaListTypeTemplate.getBaseClass() |
Class<? extends Type> |
BaseItemArrayType.getBaseClass() |
Class<? extends Type> |
BaseItemType.getBaseClass() |
Class<? extends Type> |
MetaTypeTemplate.getBaseClass() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
AbstractMetaListType.writeEnd(Type<Metadata> type,
io.netty.buffer.ByteBuf buffer) |
protected void |
ModernMetaListType.writeEnd(Type<Metadata> type,
io.netty.buffer.ByteBuf buffer) |
Modifier and Type | Class and Description |
---|---|
class |
ChunkSectionType1_13 |
class |
ChunkSectionType1_16 |
class |
ChunkSectionType1_8 |
class |
ChunkSectionType1_9 |
class |
Metadata1_12Type |
class |
Metadata1_13_2Type |
class |
Metadata1_13Type |
class |
Metadata1_14Type |
class |
Metadata1_8Type |
class |
Metadata1_9Type |
class |
MetadataList1_12Type |
class |
MetadataList1_13_2Type |
class |
MetadataList1_13Type |
class |
MetadataList1_14Type |
class |
MetadataList1_8Type |
class |
MetadataList1_9Type |
Modifier and Type | Field and Description |
---|---|
static Type<ChunkSection> |
Types1_16.CHUNK_SECTION
Chunk section type for 1.16
|
static Type<ChunkSection> |
Types1_8.CHUNK_SECTION |
static Type<ChunkSection> |
Types1_9.CHUNK_SECTION |
static Type<ChunkSection> |
Types1_13.CHUNK_SECTION |
static Type<Metadata> |
Types1_8.METADATA
Metadata type for 1.8
|
static Type<Metadata> |
Types1_9.METADATA
Metadata type for 1.9
|
static Type<Metadata> |
Types1_13_2.METADATA
Metadata type for 1.13
|
static Type<Metadata> |
Types1_13.METADATA
Metadata type for 1.13
|
static Type<Metadata> |
Types1_14.METADATA
Metadata type for 1.14
|
static Type<Metadata> |
Types1_12.METADATA
Metadata type for 1.12
|
static Type<List<Metadata>> |
Types1_8.METADATA_LIST
Metadata list type for 1.8
|
static Type<List<Metadata>> |
Types1_9.METADATA_LIST
Metadata list type for 1.9
|
static Type<List<Metadata>> |
Types1_13_2.METADATA_LIST
Metadata list type for 1.13
|
static Type<List<Metadata>> |
Types1_13.METADATA_LIST
Metadata list type for 1.13
|
static Type<List<Metadata>> |
Types1_14.METADATA_LIST
Metadata list type for 1.14
|
static Type<List<Metadata>> |
Types1_12.METADATA_LIST
Metadata list type for 1.12
|
static Type<Particle> |
Types1_13_2.PARTICLE
Particle type for 1.13.2
|
static Type<Particle> |
Types1_13.PARTICLE
Particle type for 1.13
|
static Type<Particle> |
Types1_14.PARTICLE
Particle type for 1.14
|
Modifier and Type | Method and Description |
---|---|
protected Type<Metadata> |
MetadataList1_14Type.getType() |
protected Type<Metadata> |
MetadataList1_12Type.getType() |
protected Type<Metadata> |
MetadataList1_8Type.getType() |
protected Type<Metadata> |
MetadataList1_13Type.getType() |
protected Type<Metadata> |
MetadataList1_13_2Type.getType() |
protected Type<Metadata> |
MetadataList1_9Type.getType() |
Modifier and Type | Method and Description |
---|---|
protected void |
MetadataList1_8Type.writeEnd(Type<Metadata> type,
io.netty.buffer.ByteBuf buffer) |
Modifier and Type | Class and Description |
---|---|
class |
Particle1_13_2Type |
Modifier and Type | Class and Description |
---|---|
class |
Chunk1_13Type |
class |
Particle1_13Type |
Modifier and Type | Method and Description |
---|---|
Class<? extends Type> |
Chunk1_13Type.getBaseClass() |
Modifier and Type | Class and Description |
---|---|
class |
Chunk1_14Type |
Modifier and Type | Method and Description |
---|---|
Class<? extends Type> |
Chunk1_14Type.getBaseClass() |
Modifier and Type | Class and Description |
---|---|
class |
Chunk1_15Type |
Modifier and Type | Method and Description |
---|---|
Class<? extends Type> |
Chunk1_15Type.getBaseClass() |
Modifier and Type | Class and Description |
---|---|
class |
Chunk1_16_2Type |
Modifier and Type | Method and Description |
---|---|
Class<? extends Type> |
Chunk1_16_2Type.getBaseClass() |
Modifier and Type | Class and Description |
---|---|
class |
Chunk1_16Type |
Modifier and Type | Method and Description |
---|---|
Class<? extends Type> |
Chunk1_16Type.getBaseClass() |
Modifier and Type | Class and Description |
---|---|
class |
Chunk1_9_3_4Type |
Modifier and Type | Method and Description |
---|---|
Class<? extends Type> |
Chunk1_9_3_4Type.getBaseClass() |
Modifier and Type | Class and Description |
---|---|
class |
Chunk1_9_1_2Type |
Modifier and Type | Method and Description |
---|---|
Class<? extends Type> |
Chunk1_9_1_2Type.getBaseClass() |
Modifier and Type | Class and Description |
---|---|
class |
Chunk1_9to1_8Type |
Modifier and Type | Method and Description |
---|---|
Class<? extends Type> |
Chunk1_9to1_8Type.getBaseClass() |
Copyright © 2016–2021. All rights reserved.