Modifier and Type | Class and Description |
---|---|
static class |
Entity1_10Types.EntityType |
static class |
Entity1_11Types.EntityType |
static class |
Entity1_12Types.EntityType |
static class |
Entity1_13Types.EntityType |
static class |
Entity1_14Types.EntityType |
static class |
Entity1_15Types.EntityType |
static class |
Entity1_16_2Types.EntityType |
static class |
Entity1_16Types.EntityType |
Modifier and Type | Method and Description |
---|---|
@Nullable EntityType |
EntityType.getParent() |
EntityType |
ObjectType.getType() |
Modifier and Type | Method and Description |
---|---|
default boolean |
EntityType.is(EntityType... types) |
default boolean |
EntityType.is(EntityType type) |
default boolean |
EntityType.isOrHasParent(EntityType type) |
Modifier and Type | Method and Description |
---|---|
<T extends Enum<T> & EntityType> |
MetadataRewriter.mapTypes(EntityType[] oldTypes,
Class<T> newTypeClass) |
Modifier and Type | Method and Description |
---|---|
protected EntityType |
MetadataRewriter.getObjectTypeFromId(int type)
Returns the entity type from the given id.
|
protected abstract EntityType |
MetadataRewriter.getTypeFromId(int type) |
Modifier and Type | Method and Description |
---|---|
PacketHandler |
MetadataRewriter.getTrackerAndRewriter(@Nullable Type<List<Metadata>> metaType,
EntityType entityType) |
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.mapType(EntityType oldType,
EntityType newType) |
<T extends Enum<T> & EntityType> |
MetadataRewriter.mapTypes(EntityType[] oldTypes,
Class<T> newTypeClass) |
void |
MetadataRewriter.registerSpawnTrackerWithData(ClientboundPacketType packetType,
EntityType fallingBlockType) |
void |
MetadataRewriter.registerTracker(ClientboundPacketType packetType,
EntityType entityType) |
Modifier and Type | Method and Description |
---|---|
@Nullable EntityType |
EntityTracker.getEntity(int entityId) |
Modifier and Type | Method and Description |
---|---|
void |
EntityTracker.addEntity(int entityId,
EntityType type) |
Constructor and Description |
---|
EntityTracker(UserConnection user,
EntityType playerType) |
Modifier and Type | Method and Description |
---|---|
protected EntityType |
MetadataRewriter1_11To1_10.getObjectTypeFromId(int type) |
protected EntityType |
MetadataRewriter1_11To1_10.getTypeFromId(int type) |
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 |
---|---|
protected EntityType |
MetadataRewriter1_12To1_11_1.getObjectTypeFromId(int type) |
protected EntityType |
MetadataRewriter1_12To1_11_1.getTypeFromId(int type) |
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 EntityType |
MetadataRewriter1_13_1To1_13.getObjectTypeFromId(int type) |
protected EntityType |
MetadataRewriter1_13_1To1_13.getTypeFromId(int type) |
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 EntityType |
MetadataRewriter1_13To1_12_2.getObjectTypeFromId(int type) |
protected EntityType |
MetadataRewriter1_13To1_12_2.getTypeFromId(int type) |
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 EntityType |
MetadataRewriter1_14_1To1_14.getTypeFromId(int type) |
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 EntityType |
MetadataRewriter1_14To1_13_2.getTypeFromId(int type) |
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 EntityType |
MetadataRewriter1_15To1_14_4.getTypeFromId(int type) |
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 |
---|---|
protected EntityType |
MetadataRewriter1_16_2To1_16_1.getTypeFromId(int type) |
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 |
---|---|
protected EntityType |
MetadataRewriter1_16To1_15_2.getTypeFromId(int type) |
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 EntityType |
MetadataRewriter1_9To1_8.getObjectTypeFromId(int type) |
protected EntityType |
MetadataRewriter1_9To1_8.getTypeFromId(int type) |
Modifier and Type | Method and Description |
---|---|
protected void |
MetadataRewriter1_9To1_8.handleMetadata(int entityId,
EntityType type,
Metadata metadata,
List<Metadata> metadatas,
UserConnection connection) |
static MetaIndex |
MetaIndex.searchIndex(EntityType type,
int index) |
Copyright © 2016–2021. All rights reserved.