Class ItemModelBuilder.OverrideBuilder
- java.lang.Object
-
- net.minecraftforge.client.model.generators.ItemModelBuilder.OverrideBuilder
-
- Enclosing class:
- ItemModelBuilder
public class ItemModelBuilder.OverrideBuilder extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private ModelFile
model
private java.util.Map<ResourceLocation,java.lang.Float>
predicates
-
Constructor Summary
Constructors Constructor Description OverrideBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ItemModelBuilder
end()
ItemModelBuilder.OverrideBuilder
model(ModelFile model)
ItemModelBuilder.OverrideBuilder
predicate(ResourceLocation key, float value)
(package private) com.google.gson.JsonObject
toJson()
-
-
-
Field Detail
-
model
private ModelFile model
-
predicates
private final java.util.Map<ResourceLocation,java.lang.Float> predicates
-
-
Method Detail
-
model
public ItemModelBuilder.OverrideBuilder model(ModelFile model)
-
predicate
public ItemModelBuilder.OverrideBuilder predicate(ResourceLocation key, float value)
-
end
public ItemModelBuilder end()
-
toJson
com.google.gson.JsonObject toJson()
-
-