Package net.minestom.server.item.armor
Interface TrimPattern
- All Superinterfaces:
ProtocolObject
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final @NotNull Codec<Holder<TrimPattern>> static final NetworkBuffer.Type<Holder<TrimPattern>> static final @NotNull Codec<TrimPattern> static final NetworkBuffer.Type<TrimPattern> -
Method Summary
Modifier and TypeMethodDescription@NotNull net.kyori.adventure.key.KeyassetId()static @NotNull TrimPattern.Builderbuilder()static @NotNull TrimPatternstatic @NotNull DynamicRegistry<TrimPattern> Creates a new registry for trim materials, loading the vanilla trim materials.@NotNull ComponentbooleanisDecal()Methods inherited from interface net.minestom.server.registry.ProtocolObject
registry
-
Field Details
-
REGISTRY_NETWORK_TYPE
-
REGISTRY_CODEC
-
NETWORK_TYPE
-
CODEC
-
-
Method Details
-
create
@NotNull static @NotNull TrimPattern create(@NotNull @NotNull net.kyori.adventure.key.Key assetId, @NotNull @NotNull Component description, boolean decal) -
builder
-
createDefaultRegistry
Creates a new registry for trim materials, loading the vanilla trim materials.
- See Also:
-
assetId
@NotNull @NotNull net.kyori.adventure.key.Key assetId() -
description
-
isDecal
boolean isDecal()
-