Interface TrimMaterial
- All Superinterfaces:
CopyableEntity<TrimMaterial>
,DeepComparableEntity
,MappedEntity
- All Known Implementing Classes:
StaticTrimMaterial
public interface TrimMaterial
extends MappedEntity, CopyableEntity<TrimMaterial>, DeepComparableEntity
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic TrimMaterial
decode
(NBT nbt, ClientVersion version, @Nullable TypesBuilderData data) static NBT
encode
(TrimMaterial material, ClientVersion version) default @Nullable String
getArmorMaterialOverride
(ArmorMaterial armorMaterial) net.kyori.adventure.text.Component
float
Removed in 1.21.4static TrimMaterial
read
(PacketWrapper<?> wrapper) static TrimMaterial
readDirect
(PacketWrapper<?> wrapper) static void
write
(PacketWrapper<?> wrapper, TrimMaterial material) static void
writeDirect
(PacketWrapper<?> wrapper, TrimMaterial material) Methods inherited from interface com.github.retrooper.packetevents.protocol.mapper.CopyableEntity
copy
Methods inherited from interface com.github.retrooper.packetevents.protocol.mapper.DeepComparableEntity
deepEquals, deepHashCode
Methods inherited from interface com.github.retrooper.packetevents.protocol.mapper.MappedEntity
getId, getName, isRegistered
-
Field Details
-
FALLBACK_ITEM_MODEL_INDEX
static final float FALLBACK_ITEM_MODEL_INDEX- See Also:
-
-
Method Details
-
getAssetName
String getAssetName() -
getIngredient
ItemType getIngredient() -
getItemModelIndex
@Obsolete float getItemModelIndex()Removed in 1.21.4 -
getArmorMaterialOverride
-
getOverrideArmorMaterials
Map<ArmorMaterial,String> getOverrideArmorMaterials() -
getDescription
net.kyori.adventure.text.Component getDescription() -
read
-
readDirect
-
write
-
writeDirect
-
decode
static TrimMaterial decode(NBT nbt, ClientVersion version, @Nullable @Nullable TypesBuilderData data) -
encode
-