Modifier and Type | Method and Description |
---|---|
protected @Nullable Metadata |
MetadataRewriter.getMetaByIndex(int index,
List<Metadata> metadataList) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
MetadataRewriter.handleMetadata(int entityId,
@Nullable EntityType type,
Metadata metadata,
List<Metadata> metadatas,
UserConnection connection)
To be overridden to handle metadata.
|
Modifier and Type | Method and Description |
---|---|
protected @Nullable Metadata |
MetadataRewriter.getMetaByIndex(int index,
List<Metadata> metadataList) |
protected abstract void |
MetadataRewriter.handleMetadata(int entityId,
@Nullable EntityType type,
Metadata metadata,
List<Metadata> metadatas,
UserConnection connection)
To be overridden to handle metadata.
|
void |
MetadataRewriter.handleMetadata(int entityId,
List<Metadata> metadatas,
UserConnection connection) |
void |
MetadataRewriter.registerMetadataRewriter(ClientboundPacketType packetType,
Type<List<Metadata>> metaType) |
void |
MetadataRewriter.registerMetadataRewriter(ClientboundPacketType packetType,
@Nullable Type<List<Metadata>> oldMetaType,
Type<List<Metadata>> newMetaType) |
Modifier and Type | Method and Description |
---|---|
Metadata |
ModernMetaType.read(io.netty.buffer.ByteBuf buffer) |
Modifier and Type | Method and Description |
---|---|
protected abstract Type<Metadata> |
AbstractMetaListType.getType() |
List<Metadata> |
AbstractMetaListType.read(io.netty.buffer.ByteBuf buffer) |
Modifier and Type | Method and Description |
---|---|
void |
ModernMetaType.write(io.netty.buffer.ByteBuf buffer,
Metadata object) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractMetaListType.write(io.netty.buffer.ByteBuf buffer,
List<Metadata> object) |
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 | Field and Description |
---|---|
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
|
Modifier and Type | Method and Description |
---|---|
Metadata |
Metadata1_8Type.read(io.netty.buffer.ByteBuf buffer) |
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 |
---|---|
void |
Metadata1_8Type.write(io.netty.buffer.ByteBuf buffer,
Metadata meta) |
Modifier and Type | Method and Description |
---|---|
protected void |
MetadataList1_8Type.writeEnd(Type<Metadata> type,
io.netty.buffer.ByteBuf buffer) |
Modifier and Type | Field and Description |
---|---|
static ValueTransformer<List<Metadata>,List<Metadata>> |
Protocol1_10To1_9_3_4.TRANSFORM_METADATA |
static ValueTransformer<List<Metadata>,List<Metadata>> |
Protocol1_10To1_9_3_4.TRANSFORM_METADATA |
Modifier and Type | Method and Description |
---|---|
static Optional<Metadata> |
MetadataRewriter1_11To1_10.getById(List<Metadata> metadatas,
int id) |
Modifier and Type | Method and Description |
---|---|
protected void |
MetadataRewriter1_11To1_10.handleMetadata(int entityId,
EntityType type,
Metadata metadata,
List<Metadata> metadatas,
UserConnection connection) |
Modifier and Type | Method and Description |
---|---|
static Optional<Metadata> |
MetadataRewriter1_11To1_10.getById(List<Metadata> metadatas,
int id) |
protected void |
MetadataRewriter1_11To1_10.handleMetadata(int entityId,
EntityType type,
Metadata metadata,
List<Metadata> metadatas,
UserConnection connection) |
static Entity1_11Types.EntityType |
MetadataRewriter1_11To1_10.rewriteEntityType(int numType,
List<Metadata> metadata) |
Modifier and Type | Method and Description |
---|---|
protected void |
MetadataRewriter1_12To1_11_1.handleMetadata(int entityId,
EntityType type,
Metadata metadata,
List<Metadata> metadatas,
UserConnection connection) |
Modifier and Type | Method and Description |
---|---|
protected void |
MetadataRewriter1_12To1_11_1.handleMetadata(int entityId,
EntityType type,
Metadata metadata,
List<Metadata> metadatas,
UserConnection connection) |
Modifier and Type | Method and Description |
---|---|
protected void |
MetadataRewriter1_13_1To1_13.handleMetadata(int entityId,
EntityType type,
Metadata metadata,
List<Metadata> metadatas,
UserConnection connection) |
Modifier and Type | Method and Description |
---|---|
protected void |
MetadataRewriter1_13_1To1_13.handleMetadata(int entityId,
EntityType type,
Metadata metadata,
List<Metadata> metadatas,
UserConnection connection) |
Modifier and Type | Method and Description |
---|---|
protected void |
MetadataRewriter1_13To1_12_2.handleMetadata(int entityId,
EntityType type,
Metadata metadata,
List<Metadata> metadatas,
UserConnection connection) |
Modifier and Type | Method and Description |
---|---|
protected void |
MetadataRewriter1_13To1_12_2.handleMetadata(int entityId,
EntityType type,
Metadata metadata,
List<Metadata> metadatas,
UserConnection connection) |
Modifier and Type | Method and Description |
---|---|
void |
MetadataRewriter1_14_1To1_14.handleMetadata(int entityId,
EntityType type,
Metadata metadata,
List<Metadata> metadatas,
UserConnection connection) |
Modifier and Type | Method and Description |
---|---|
void |
MetadataRewriter1_14_1To1_14.handleMetadata(int entityId,
EntityType type,
Metadata metadata,
List<Metadata> metadatas,
UserConnection connection) |
Modifier and Type | Method and Description |
---|---|
protected void |
MetadataRewriter1_14To1_13_2.handleMetadata(int entityId,
EntityType type,
Metadata metadata,
List<Metadata> metadatas,
UserConnection connection) |
Modifier and Type | Method and Description |
---|---|
protected void |
MetadataRewriter1_14To1_13_2.handleMetadata(int entityId,
EntityType type,
Metadata metadata,
List<Metadata> metadatas,
UserConnection connection) |
Modifier and Type | Method and Description |
---|---|
void |
MetadataRewriter1_15To1_14_4.handleMetadata(int entityId,
EntityType type,
Metadata metadata,
List<Metadata> metadatas,
UserConnection connection) |
Modifier and Type | Method and Description |
---|---|
void |
MetadataRewriter1_15To1_14_4.handleMetadata(int entityId,
EntityType type,
Metadata metadata,
List<Metadata> metadatas,
UserConnection connection) |
Modifier and Type | Method and Description |
---|---|
void |
MetadataRewriter1_16_2To1_16_1.handleMetadata(int entityId,
EntityType type,
Metadata metadata,
List<Metadata> metadatas,
UserConnection connection) |
Modifier and Type | Method and Description |
---|---|
void |
MetadataRewriter1_16_2To1_16_1.handleMetadata(int entityId,
EntityType type,
Metadata metadata,
List<Metadata> metadatas,
UserConnection connection) |
Modifier and Type | Method and Description |
---|---|
void |
MetadataRewriter1_16To1_15_2.handleMetadata(int entityId,
EntityType type,
Metadata metadata,
List<Metadata> metadatas,
UserConnection connection) |
Modifier and Type | Method and Description |
---|---|
void |
MetadataRewriter1_16To1_15_2.handleMetadata(int entityId,
EntityType type,
Metadata metadata,
List<Metadata> metadatas,
UserConnection connection) |
Modifier and Type | Method and Description |
---|---|
protected void |
MetadataRewriter1_9To1_8.handleMetadata(int entityId,
EntityType type,
Metadata metadata,
List<Metadata> metadatas,
UserConnection connection) |
Modifier and Type | Method and Description |
---|---|
protected void |
MetadataRewriter1_9To1_8.handleMetadata(int entityId,
EntityType type,
Metadata metadata,
List<Metadata> metadatas,
UserConnection connection) |
Modifier and Type | Method and Description |
---|---|
Metadata |
EntityTracker1_9.getMetaByIndex(List<Metadata> list,
int index) |
Modifier and Type | Method and Description |
---|---|
Map<Integer,List<Metadata>> |
EntityTracker1_9.getMetadataBuffer() |
Modifier and Type | Method and Description |
---|---|
void |
EntityTracker1_9.addMetadataToBuffer(int entityID,
List<Metadata> metadataList) |
Metadata |
EntityTracker1_9.getMetaByIndex(List<Metadata> list,
int index) |
void |
EntityTracker1_9.handleMetadata(int entityId,
List<Metadata> metadataList) |
Copyright © 2016–2021. All rights reserved.