Class StaticBannerPattern
java.lang.Object
com.github.retrooper.packetevents.protocol.mapper.AbstractMappedEntity
com.github.retrooper.packetevents.protocol.item.banner.StaticBannerPattern
- All Implemented Interfaces:
BannerPattern
,CopyableEntity<BannerPattern>
,DeepComparableEntity
,MappedEntity
-
Field Summary
Fields inherited from class com.github.retrooper.packetevents.protocol.mapper.AbstractMappedEntity
data
-
Constructor Summary
ConstructorDescriptionStaticBannerPattern
(ResourceLocation assetId, String translationKey) StaticBannerPattern
(@Nullable TypesBuilderData data, ResourceLocation assetId, String translationKey) -
Method Summary
Modifier and TypeMethodDescriptioncopy
(@Nullable TypesBuilderData newData) boolean
deepEquals
(Object obj) int
toString()
Methods inherited from class com.github.retrooper.packetevents.protocol.mapper.AbstractMappedEntity
equals, getId, getName, getRegistryData, hashCode, isRegistered
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.MappedEntity
getId, getName, isRegistered
-
Constructor Details
-
StaticBannerPattern
-
StaticBannerPattern
public StaticBannerPattern(@Nullable @Nullable TypesBuilderData data, ResourceLocation assetId, String translationKey)
-
-
Method Details
-
copy
- Specified by:
copy
in interfaceCopyableEntity<BannerPattern>
-
getAssetId
- Specified by:
getAssetId
in interfaceBannerPattern
-
getTranslationKey
- Specified by:
getTranslationKey
in interfaceBannerPattern
-
deepEquals
- Specified by:
deepEquals
in interfaceDeepComparableEntity
-
deepHashCode
public int deepHashCode()- Specified by:
deepHashCode
in interfaceDeepComparableEntity
-
toString
- Overrides:
toString
in classAbstractMappedEntity
-