Class StaticEntityType
java.lang.Object
com.github.retrooper.packetevents.protocol.mapper.AbstractMappedEntity
com.github.retrooper.packetevents.protocol.entity.type.StaticEntityType
- All Implemented Interfaces:
EntityType
,LegacyMappedEntity
,MappedEntity
-
Field Summary
Fields inherited from class com.github.retrooper.packetevents.protocol.mapper.AbstractMappedEntity
data
-
Constructor Summary
ConstructorsConstructorDescriptionStaticEntityType
(@Nullable TypesBuilderData data, @Nullable EntityType parent) -
Method Summary
Modifier and TypeMethodDescriptionint
getLegacyId
(ClientVersion version) boolean
isInstanceOf
(EntityType parent) Methods inherited from class com.github.retrooper.packetevents.protocol.mapper.AbstractMappedEntity
equals, getId, getName, getRegistryData, hashCode, isRegistered, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.github.retrooper.packetevents.protocol.mapper.LegacyMappedEntity
getName
Methods inherited from interface com.github.retrooper.packetevents.protocol.mapper.MappedEntity
getId, getName, isRegistered
-
Constructor Details
-
StaticEntityType
@Internal public StaticEntityType(@Nullable @Nullable TypesBuilderData data, @Nullable @Nullable EntityType parent)
-
-
Method Details
-
isInstanceOf
- Specified by:
isInstanceOf
in interfaceEntityType
-
getParent
- Specified by:
getParent
in interfaceEntityType
-
getLegacyId
- Specified by:
getLegacyId
in interfaceLegacyMappedEntity
-