public class ItemModelBuilder.OverrideBuilder
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private ModelFile |
model |
private java.util.Map<ResourceLocation,java.lang.Float> |
predicates |
Constructor and Description |
---|
OverrideBuilder() |
Modifier and Type | Method and Description |
---|---|
ItemModelBuilder |
end() |
ItemModelBuilder.OverrideBuilder |
model(ModelFile model) |
ItemModelBuilder.OverrideBuilder |
predicate(ResourceLocation key,
float value) |
(package private) com.google.gson.JsonObject |
toJson() |
private ModelFile model
private final java.util.Map<ResourceLocation,java.lang.Float> predicates
public ItemModelBuilder.OverrideBuilder model(ModelFile model)
public ItemModelBuilder.OverrideBuilder predicate(ResourceLocation key, float value)
public ItemModelBuilder end()
com.google.gson.JsonObject toJson()