public static class ModelTextures.Builder
extends java.lang.Object
ModelTextures
objects| Modifier and Type | Method and Description |
|---|---|
@NotNull ModelTextures.Builder |
addLayer(@NotNull ModelTexture layer) |
@NotNull ModelTextures.Builder |
addLayers(ModelTexture... layers) |
@NotNull ModelTextures.Builder |
addVariable(@NotNull java.lang.String id,
@NotNull ModelTexture texture) |
@NotNull ModelTextures |
build()
Finishes the building of the
ModelTextures
instance by instantiating it using the previously
set values |
@NotNull ModelTextures.Builder |
layers(@NotNull java.util.List<ModelTexture> layers) |
@NotNull ModelTextures.Builder |
layers(ModelTexture... layers) |
@NotNull ModelTextures.Builder |
particle(@Nullable ModelTexture particle) |
@NotNull ModelTextures.Builder |
variables(@NotNull java.util.Map<java.lang.String,ModelTexture> variables) |
@Contract(value="_ -> this") @NotNull public @NotNull ModelTextures.Builder layers(@NotNull @NotNull java.util.List<ModelTexture> layers)
@Contract(value="_ -> this") @NotNull public @NotNull ModelTextures.Builder layers(@NotNull ModelTexture... layers)
@Contract(value="_ -> this") @NotNull public @NotNull ModelTextures.Builder addLayer(@NotNull @NotNull ModelTexture layer)
@Contract(value="_ -> this") @NotNull public @NotNull ModelTextures.Builder addLayers(@NotNull ModelTexture... layers)
@Contract(value="_ -> this") @NotNull public @NotNull ModelTextures.Builder particle(@Nullable @Nullable ModelTexture particle)
@Contract(value="_ -> this") @NotNull public @NotNull ModelTextures.Builder variables(@NotNull @NotNull java.util.Map<java.lang.String,ModelTexture> variables)
@Contract(value="_, _ -> this") @NotNull public @NotNull ModelTextures.Builder addVariable(@NotNull @NotNull java.lang.String id, @NotNull @NotNull ModelTexture texture)
@Contract(value="-> new") @NotNull public @NotNull ModelTextures build()
ModelTextures
instance by instantiating it using the previously
set valuesModelTextures instance