Package net.minestom.server.item.armor
Interface TrimMaterial
- All Superinterfaces:
ProtocolObject
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final @NotNull Codec<Holder<TrimMaterial>> static final NetworkBuffer.Type<Holder<TrimMaterial>> static final @NotNull Codec<TrimMaterial> static final NetworkBuffer.Type<TrimMaterial> -
Method Summary
Modifier and TypeMethodDescription@NotNull Stringstatic @NotNull TrimMaterial.Builderbuilder()static @NotNull TrimMaterialcreate(@NotNull String assetName, @NotNull Map<String, String> overrideArmorMaterials, @NotNull Component description) static @NotNull DynamicRegistry<TrimMaterial> Creates a new registry for trim materials, loading the vanilla trim materials.@NotNull ComponentMethods inherited from interface net.minestom.server.registry.ProtocolObject
registry
-
Field Details
-
REGISTRY_NETWORK_TYPE
-
REGISTRY_CODEC
-
NETWORK_TYPE
-
CODEC
-
-
Method Details
-
create
-
builder
-
createDefaultRegistry
Creates a new registry for trim materials, loading the vanilla trim materials.
- See Also:
-
assetName
-
overrideArmorMaterials
-
description
-