Class StaticTrimPattern
java.lang.Object
com.github.retrooper.packetevents.protocol.item.trimpattern.StaticTrimPattern
- All Implemented Interfaces:
TrimPattern,MappedEntity
-
Constructor Summary
ConstructorsConstructorDescriptionStaticTrimPattern(ResourceLocation assetId, ItemType templateItem, net.kyori.adventure.text.Component description, boolean decal) -
Method Summary
Modifier and TypeMethodDescriptionbooleannet.kyori.adventure.text.ComponentintgetId(ClientVersion version) getName()inthashCode()booleanisDecal()boolean
-
Constructor Details
-
StaticTrimPattern
public StaticTrimPattern(ResourceLocation assetId, ItemType templateItem, net.kyori.adventure.text.Component description, boolean decal)
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceMappedEntity
-
getId
- Specified by:
getIdin interfaceMappedEntity
-
isRegistered
public boolean isRegistered()- Specified by:
isRegisteredin interfaceMappedEntity
-
getAssetId
- Specified by:
getAssetIdin interfaceTrimPattern
-
getTemplateItem
- Specified by:
getTemplateItemin interfaceTrimPattern
-
getDescription
public net.kyori.adventure.text.Component getDescription()- Specified by:
getDescriptionin interfaceTrimPattern
-
isDecal
public boolean isDecal()- Specified by:
isDecalin interfaceTrimPattern
-
equals
-
hashCode
public int hashCode()
-