Package net.minestom.server.item.armor
Class TrimMaterial.Builder
java.lang.Object
net.minestom.server.item.armor.TrimMaterial.Builder
- Enclosing interface:
TrimMaterial
-
Method Summary
Modifier and TypeMethodDescription@NotNull TrimMaterial.Builder
@NotNull TrimMaterial
build()
@NotNull TrimMaterial.Builder
description
(@NotNull Component description) @NotNull TrimMaterial.Builder
ingredient
(@NotNull Material ingredient) @NotNull TrimMaterial.Builder
itemModelIndex
(float itemModelIndex) @NotNull TrimMaterial.Builder
overrideArmorMaterial
(@NotNull String slot, @NotNull String material) @NotNull TrimMaterial.Builder
overrideArmorMaterials
(@NotNull Map<String, String> overrideArmorMaterials)
-
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
-