Package net.minestom.server.item.armor
Interface TrimPattern
- All Superinterfaces:
net.minestom.server.registry.ProtocolObject
public sealed interface TrimPattern
extends net.minestom.server.registry.ProtocolObject
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final @NotNull BinaryTagSerializer<DynamicRegistry.Key<TrimPattern>> static final NetworkBuffer.Type<DynamicRegistry.Key<TrimPattern>> -
Method Summary
Modifier and TypeMethodDescription@NotNull net.minestom.server.utils.NamespaceIDassetId()static @NotNull TrimPattern.Builderbuilder()static @NotNull TrimPatterncreate(@NotNull net.minestom.server.utils.NamespaceID assetId, @NotNull Material template, @NotNull Component description, boolean decal) static @NotNull DynamicRegistry<TrimPattern> Creates a new registry for trim materials, loading the vanilla trim materials.@NotNull ComponentbooleanisDecal()registry()@NotNull Materialtemplate()
-
Field Details
-
NETWORK_TYPE
-
NBT_TYPE
-
-
Method Details
-
create
@NotNull static @NotNull TrimPattern create(@NotNull @NotNull net.minestom.server.utils.NamespaceID assetId, @NotNull @NotNull Material template, @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.minestom.server.utils.NamespaceID assetId() -
template
-
description
-
isDecal
boolean isDecal() -
registry
- Specified by:
registryin interfacenet.minestom.server.registry.ProtocolObject
-