Class OBJLoaderBuilder<T extends ModelBuilder<T>>
- java.lang.Object
-
- net.minecraftforge.client.model.generators.CustomLoaderBuilder<T>
-
- net.minecraftforge.client.model.generators.loaders.OBJLoaderBuilder<T>
-
public class OBJLoaderBuilder<T extends ModelBuilder<T>> extends CustomLoaderBuilder<T>
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Boolean
ambientToFullbright
private java.lang.Boolean
detectCullableFaces
private java.lang.Boolean
diffuseLighting
private java.lang.Boolean
flipV
private ResourceLocation
materialLibraryOverrideLocation
private ResourceLocation
modelLocation
-
Fields inherited from class net.minecraftforge.client.model.generators.CustomLoaderBuilder
existingFileHelper, loaderId, parent, visibility
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
OBJLoaderBuilder(T parent, ExistingFileHelper existingFileHelper)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description OBJLoaderBuilder<T>
ambientToFullbright(boolean ambientToFullbright)
static <T extends ModelBuilder<T>>
OBJLoaderBuilder<T>begin(T parent, ExistingFileHelper existingFileHelper)
OBJLoaderBuilder<T>
detectCullableFaces(boolean detectCullableFaces)
OBJLoaderBuilder<T>
diffuseLighting(boolean diffuseLighting)
OBJLoaderBuilder<T>
flipV(boolean flipV)
OBJLoaderBuilder<T>
modelLocation(ResourceLocation modelLocation)
OBJLoaderBuilder<T>
overrideMaterialLibrary(ResourceLocation materialLibraryOverrideLocation)
com.google.gson.JsonObject
toJson(com.google.gson.JsonObject json)
-
Methods inherited from class net.minecraftforge.client.model.generators.CustomLoaderBuilder
end, visibility
-
-
-
-
Field Detail
-
modelLocation
private ResourceLocation modelLocation
-
detectCullableFaces
private java.lang.Boolean detectCullableFaces
-
diffuseLighting
private java.lang.Boolean diffuseLighting
-
flipV
private java.lang.Boolean flipV
-
ambientToFullbright
private java.lang.Boolean ambientToFullbright
-
materialLibraryOverrideLocation
private ResourceLocation materialLibraryOverrideLocation
-
-
Constructor Detail
-
OBJLoaderBuilder
protected OBJLoaderBuilder(T parent, ExistingFileHelper existingFileHelper)
-
-
Method Detail
-
begin
public static <T extends ModelBuilder<T>> OBJLoaderBuilder<T> begin(T parent, ExistingFileHelper existingFileHelper)
-
modelLocation
public OBJLoaderBuilder<T> modelLocation(ResourceLocation modelLocation)
-
detectCullableFaces
public OBJLoaderBuilder<T> detectCullableFaces(boolean detectCullableFaces)
-
diffuseLighting
public OBJLoaderBuilder<T> diffuseLighting(boolean diffuseLighting)
-
flipV
public OBJLoaderBuilder<T> flipV(boolean flipV)
-
ambientToFullbright
public OBJLoaderBuilder<T> ambientToFullbright(boolean ambientToFullbright)
-
overrideMaterialLibrary
public OBJLoaderBuilder<T> overrideMaterialLibrary(ResourceLocation materialLibraryOverrideLocation)
-
toJson
public com.google.gson.JsonObject toJson(com.google.gson.JsonObject json)
- Overrides:
toJson
in classCustomLoaderBuilder<T extends ModelBuilder<T>>
-
-