Class ModelBuilder.TransformsBuilder
java.lang.Object
net.minecraftforge.client.model.generators.ModelBuilder.TransformsBuilder
- Enclosing class:
- ModelBuilder<T extends ModelBuilder<T>>
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Map<ModelBuilder.Perspective,
ModelBuilder<T>.TransformsBuilder.TransformVecBuilder> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) Map<ModelBuilder.Perspective,
ItemTransformVec3f> build()
end()
Begin building a new transform for the given perspective.
-
Field Details
-
transforms
private final Map<ModelBuilder.Perspective,ModelBuilder<T extends ModelBuilder<T>>.TransformsBuilder.TransformVecBuilder> transforms
-
-
Constructor Details
-
TransformsBuilder
public TransformsBuilder()
-
-
Method Details
-
transform
public ModelBuilder<T>.TransformsBuilder.TransformVecBuilder transform(ModelBuilder.Perspective type) Begin building a new transform for the given perspective.- Parameters:
type
- the perspective to create or return the builder for- Returns:
- the builder for the given perspective
- Throws:
NullPointerException
- iftype
isnull
-
build
-
end
-