Class TrimMaterial.Builder

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

public static final class TrimMaterial.Builder extends Object
  • Method Details

    • assetName

      @Contract(value="_ -> this", pure=true) @NotNull public @NotNull TrimMaterial.Builder assetName(@NotNull @NotNull String assetName)
    • ingredient

      @Contract(value="_ -> this", pure=true) @NotNull public @NotNull TrimMaterial.Builder ingredient(@NotNull @NotNull Material ingredient)
    • itemModelIndex

      @Contract(value="_ -> this", pure=true) @NotNull public @NotNull TrimMaterial.Builder itemModelIndex(float itemModelIndex)
    • overrideArmorMaterials

      @Contract(value="_ -> this", pure=true) @NotNull public @NotNull TrimMaterial.Builder overrideArmorMaterials(@NotNull @NotNull Map<String,String> overrideArmorMaterials)
    • overrideArmorMaterial

      @Contract(value="_, _ -> this", pure=true) @NotNull public @NotNull TrimMaterial.Builder overrideArmorMaterial(@NotNull @NotNull String slot, @NotNull @NotNull String material)
    • description

      @Contract(value="_ -> this", pure=true) @NotNull public @NotNull TrimMaterial.Builder description(@NotNull @NotNull Component description)
    • build

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