Class AbstractMappedEntity
java.lang.Object
com.github.retrooper.packetevents.protocol.mapper.AbstractMappedEntity
- All Implemented Interfaces:
MappedEntity
- Direct Known Subclasses:
JukeboxSong
,StaticArmorMaterial
,StaticAttribute
,StaticBannerPattern
,StaticBiome
,StaticBlockEntityType
,StaticChatType
,StaticComponentType
,StaticConsumeEffectType
,StaticDamageType
,StaticDimensionType
,StaticEnchantmentType
,StaticInstrument
,StaticItemType
,StaticPaintingVariant
,StaticRecipeBookCategory
,StaticRecipeDisplayType
,StaticSlotDisplayType
,StaticTrimMaterial
,StaticTrimPattern
,StaticWolfVariant
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
getId
(ClientVersion version) getName()
@Nullable TypesBuilderData
int
hashCode()
boolean
toString()
-
Field Details
-
data
-
-
Constructor Details
-
AbstractMappedEntity
-
-
Method Details
-
getRegistryData
-
getName
- Specified by:
getName
in interfaceMappedEntity
-
getId
- Specified by:
getId
in interfaceMappedEntity
-
isRegistered
public boolean isRegistered()- Specified by:
isRegistered
in interfaceMappedEntity
-
equals
-
hashCode
public int hashCode() -
toString
-