Class StaticTrimPattern
java.lang.Object
com.github.retrooper.packetevents.protocol.item.trimpattern.StaticTrimPattern
- All Implemented Interfaces:
TrimPattern
,MappedEntity
-
Constructor Summary
ConstructorDescriptionStaticTrimPattern
(ResourceLocation assetId, ItemType templateItem, net.kyori.adventure.text.Component description, boolean decal) -
Method Summary
Modifier and TypeMethodDescriptionboolean
net.kyori.adventure.text.Component
int
getId
(ClientVersion version) getName()
int
hashCode()
boolean
isDecal()
boolean
-
Constructor Details
-
StaticTrimPattern
public StaticTrimPattern(ResourceLocation assetId, ItemType templateItem, net.kyori.adventure.text.Component description, boolean decal)
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceMappedEntity
-
getId
- Specified by:
getId
in interfaceMappedEntity
-
isRegistered
public boolean isRegistered()- Specified by:
isRegistered
in interfaceMappedEntity
-
getAssetId
- Specified by:
getAssetId
in interfaceTrimPattern
-
getTemplateItem
- Specified by:
getTemplateItem
in interfaceTrimPattern
-
getDescription
public net.kyori.adventure.text.Component getDescription()- Specified by:
getDescription
in interfaceTrimPattern
-
isDecal
public boolean isDecal()- Specified by:
isDecal
in interfaceTrimPattern
-
equals
-
hashCode
public int hashCode()
-