Class TrimPattern.Builder

java.lang.Object
net.minestom.server.item.armor.TrimPattern.Builder
Enclosing interface:
TrimPattern

public static final class TrimPattern.Builder extends Object
  • 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

      @Contract(pure=true) @NotNull public @NotNull TrimPattern build()