Class StaticTrimPattern
java.lang.Object
com.github.retrooper.packetevents.protocol.mapper.AbstractMappedEntity
com.github.retrooper.packetevents.protocol.item.trimpattern.StaticTrimPattern
- All Implemented Interfaces:
TrimPattern
,CopyableEntity<TrimPattern>
,DeepComparableEntity
,MappedEntity
-
Field Summary
Fields inherited from class com.github.retrooper.packetevents.protocol.mapper.AbstractMappedEntity
data
-
Constructor Summary
ConstructorDescriptionStaticTrimPattern
(ResourceLocation assetId, ItemType templateItem, net.kyori.adventure.text.Component description, boolean decal) StaticTrimPattern
(@Nullable TypesBuilderData data, ResourceLocation assetId, ItemType templateItem, net.kyori.adventure.text.Component description, boolean decal) -
Method Summary
Modifier and TypeMethodDescriptioncopy
(@Nullable TypesBuilderData newData) boolean
deepEquals
(Object obj) int
net.kyori.adventure.text.Component
boolean
isDecal()
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
-
StaticTrimPattern
public StaticTrimPattern(ResourceLocation assetId, ItemType templateItem, net.kyori.adventure.text.Component description, boolean decal) -
StaticTrimPattern
public StaticTrimPattern(@Nullable @Nullable TypesBuilderData data, ResourceLocation assetId, ItemType templateItem, net.kyori.adventure.text.Component description, boolean decal)
-
-
Method Details
-
copy
- Specified by:
copy
in interfaceCopyableEntity<TrimPattern>
-
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
-
deepEquals
- Specified by:
deepEquals
in interfaceDeepComparableEntity
-
deepHashCode
public int deepHashCode()- Specified by:
deepHashCode
in interfaceDeepComparableEntity
-
toString
- Overrides:
toString
in classAbstractMappedEntity
-