Package net.minestom.server.item.armor
Class TrimPattern.Builder
java.lang.Object
net.minestom.server.item.armor.TrimPattern.Builder
- Enclosing interface:
TrimPattern
-
Method Summary
Modifier and TypeMethodDescription@NotNull TrimPattern.Builder
@NotNull TrimPattern.Builder
assetId
(@NotNull NamespaceID assetId) @NotNull TrimPattern
build()
@NotNull TrimPattern.Builder
decal
(boolean decal) @NotNull TrimPattern.Builder
description
(@NotNull Component description) @NotNull TrimPattern.Builder
-
Method Details
-
assetId
@Contract(value="_ -> this", pure=true) @NotNull public @NotNull TrimPattern.Builder assetId(@NotNull @NotNull String assetId) -
assetId
@Contract(value="_ -> this", pure=true) @NotNull public @NotNull TrimPattern.Builder assetId(@NotNull @NotNull NamespaceID assetId) -
template
@Contract(value="_ -> this", pure=true) @NotNull public @NotNull TrimPattern.Builder template(@NotNull @NotNull Material template) -
description
@Contract(value="_ -> this", pure=true) @NotNull public @NotNull TrimPattern.Builder description(@NotNull @NotNull Component description) -
decal
@Contract(value="_ -> this", pure=true) @NotNull public @NotNull TrimPattern.Builder decal(boolean decal) -
build
-