Class BlockModelBuilder
java.lang.Object
net.minecraftforge.client.model.generators.ModelFile
net.minecraftforge.client.model.generators.ModelBuilder<BlockModelBuilder>
net.minecraftforge.client.model.generators.BlockModelBuilder
Builder for block models, does not currently provide any additional
functionality over
ModelBuilder
, purely a stub class with a concrete
generic.- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
Deprecated, for removal: This API element is subject to removal in a future version.Nested classes/interfaces inherited from class net.minecraftforge.client.model.generators.ModelBuilder
ModelBuilder.ElementBuilder, ModelBuilder.FaceRotation, ModelBuilder.RootTransformsBuilder, ModelBuilder.TransformsBuilder
Nested classes/interfaces inherited from class net.minecraftforge.client.model.generators.ModelFile
ModelFile.ExistingModelFile, ModelFile.UncheckedModelFile
-
Field Summary
Fields inherited from class net.minecraftforge.client.model.generators.ModelBuilder
ambientOcclusion, customLoader, elements, existingFileHelper, guiLight, parent, renderType, textures, transforms
-
Constructor Summary
ConstructorDescriptionBlockModelBuilder
(ResourceLocation outputLocation, ExistingFileHelper existingFileHelper) -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.UseModelBuilder.rootTransforms()
insteadcom.google.gson.JsonObject
toJson()
Methods inherited from class net.minecraftforge.client.model.generators.ModelBuilder
ao, customLoader, element, element, exists, getElementCount, guiLight, parent, renderType, renderType, rootTransforms, texture, texture, transforms
Methods inherited from class net.minecraftforge.client.model.generators.ModelFile
assertExistence, getLocation, getUncheckedLocation
-
Field Details
-
rootTransform
-
-
Constructor Details
-
BlockModelBuilder
-
-
Method Details
-
rootTransform
@Deprecated(forRemoval=true, since="1.19.4") public BlockModelBuilder.RootTransformBuilder rootTransform()Deprecated, for removal: This API element is subject to removal in a future version.UseModelBuilder.rootTransforms()
instead -
toJson
public com.google.gson.JsonObject toJson()- Overrides:
toJson
in classModelBuilder<BlockModelBuilder>
-
ModelBuilder.RootTransformsBuilder
instead viaModelBuilder.rootTransforms()