Package net.minestom.server.item.armor
Interface TrimPattern
- All Superinterfaces:
ProtocolObject
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final @NotNull BinaryTagSerializer
<DynamicRegistry.Key<TrimPattern>> static final NetworkBuffer.Type
<DynamicRegistry.Key<TrimPattern>> -
Method Summary
Modifier and TypeMethodDescription@NotNull NamespaceID
assetId()
static @NotNull TrimPattern.Builder
builder()
static @NotNull TrimPattern
create
(@NotNull 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 Component
boolean
isDecal()
registry()
@NotNull Material
template()
-
Field Details
-
NETWORK_TYPE
-
NBT_TYPE
-
-
Method Details
-
create
@NotNull static @NotNull TrimPattern create(@NotNull @NotNull 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
-
template
-
description
-
isDecal
boolean isDecal() -
registry
- Specified by:
registry
in interfaceProtocolObject
-