Class DynamicBucketModelBuilder<T extends ModelBuilder<T>>
- java.lang.Object
-
- net.minecraftforge.client.model.generators.CustomLoaderBuilder<T>
-
- net.minecraftforge.client.model.generators.loaders.DynamicBucketModelBuilder<T>
-
public class DynamicBucketModelBuilder<T extends ModelBuilder<T>> extends CustomLoaderBuilder<T>
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Boolean
applyFluidLuminosity
private java.lang.Boolean
applyTint
private java.lang.Boolean
coverIsMask
private java.lang.Boolean
flipGas
private ResourceLocation
fluid
-
Fields inherited from class net.minecraftforge.client.model.generators.CustomLoaderBuilder
existingFileHelper, loaderId, parent, visibility
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
DynamicBucketModelBuilder(T parent, ExistingFileHelper existingFileHelper)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DynamicBucketModelBuilder<T>
applyFluidLuminosity(boolean applyFluidLuminosity)
DynamicBucketModelBuilder<T>
applyTint(boolean tint)
static <T extends ModelBuilder<T>>
DynamicBucketModelBuilder<T>begin(T parent, ExistingFileHelper existingFileHelper)
DynamicBucketModelBuilder<T>
coverIsMask(boolean coverIsMask)
DynamicBucketModelBuilder<T>
flipGas(boolean flip)
DynamicBucketModelBuilder<T>
fluid(Fluid fluid)
com.google.gson.JsonObject
toJson(com.google.gson.JsonObject json)
-
Methods inherited from class net.minecraftforge.client.model.generators.CustomLoaderBuilder
end, visibility
-
-
-
-
Field Detail
-
fluid
private ResourceLocation fluid
-
flipGas
private java.lang.Boolean flipGas
-
applyTint
private java.lang.Boolean applyTint
-
coverIsMask
private java.lang.Boolean coverIsMask
-
applyFluidLuminosity
private java.lang.Boolean applyFluidLuminosity
-
-
Constructor Detail
-
DynamicBucketModelBuilder
protected DynamicBucketModelBuilder(T parent, ExistingFileHelper existingFileHelper)
-
-
Method Detail
-
begin
public static <T extends ModelBuilder<T>> DynamicBucketModelBuilder<T> begin(T parent, ExistingFileHelper existingFileHelper)
-
fluid
public DynamicBucketModelBuilder<T> fluid(Fluid fluid)
-
flipGas
public DynamicBucketModelBuilder<T> flipGas(boolean flip)
-
applyTint
public DynamicBucketModelBuilder<T> applyTint(boolean tint)
-
coverIsMask
public DynamicBucketModelBuilder<T> coverIsMask(boolean coverIsMask)
-
applyFluidLuminosity
public DynamicBucketModelBuilder<T> applyFluidLuminosity(boolean applyFluidLuminosity)
-
toJson
public com.google.gson.JsonObject toJson(com.google.gson.JsonObject json)
- Overrides:
toJson
in classCustomLoaderBuilder<T extends ModelBuilder<T>>
-
-