Class TrimMaterials
java.lang.Object
com.github.retrooper.packetevents.protocol.item.trimmaterial.TrimMaterials
-
Field Summary
Modifier and TypeFieldDescriptionstatic final TrimMaterial
static final TrimMaterial
static final TrimMaterial
static final TrimMaterial
static final TrimMaterial
static final TrimMaterial
static final TrimMaterial
static final TrimMaterial
static final TrimMaterial
static final TrimMaterial
static final TrimMaterial
-
Method Summary
Modifier and TypeMethodDescriptionstatic TrimMaterial
static TrimMaterial
define
(String key, String assetName, ItemType ingredient, float itemModelIndex, Map<ArmorMaterial, String> overrideArmorMaterials, net.kyori.adventure.text.Component description) static TrimMaterial
getById
(ClientVersion version, int id) static TrimMaterial
static VersionedRegistry
<TrimMaterial> static Collection
<TrimMaterial> values()
Returns an immutable view of the trim materials.
-
Field Details
-
AMETHYST
-
COPPER
-
DIAMOND
-
EMERALD
-
GOLD
-
IRON
-
LAPIS
-
NETHERITE
-
QUARTZ
-
REDSTONE
-
RESIN
-
-
Method Details
-
define
@Internal public static TrimMaterial define(String key, ItemType ingredient, float itemModelIndex, int color) -
define
@Internal public static TrimMaterial define(String key, String assetName, ItemType ingredient, float itemModelIndex, Map<ArmorMaterial, String> overrideArmorMaterials, net.kyori.adventure.text.Component description) -
getRegistry
-
getByName
-
getById
-
values
Returns an immutable view of the trim materials.- Returns:
- Trim Materials
-