static class MultipartBlockStateSupplier.Multipart extends Object implements Supplier<JsonElement>
Modifier and Type | Field and Description |
---|---|
private List<BlockStateVariant> |
variants |
Modifier | Constructor and Description |
---|---|
private |
Multipart(List<BlockStateVariant> variants) |
Modifier and Type | Method and Description |
---|---|
void |
extraToJson(JsonObject json) |
JsonElement |
get() |
void |
validate(StateManager<?,?> stateManager) |
private final List<BlockStateVariant> variants
private Multipart(List<BlockStateVariant> variants)
public void validate(StateManager<?,?> stateManager)
public void extraToJson(JsonObject json)
public JsonElement get()
get
in interface Supplier<JsonElement>