Class ModelBuilder.TransformsBuilder
- java.lang.Object
-
- net.minecraftforge.client.model.generators.ModelBuilder.TransformsBuilder
-
- Enclosing class:
- ModelBuilder<T extends ModelBuilder<T>>
public class ModelBuilder.TransformsBuilder extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
ModelBuilder.TransformsBuilder.TransformVecBuilder
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<ModelBuilder.Perspective,ModelBuilder.TransformsBuilder.TransformVecBuilder>
transforms
-
Constructor Summary
Constructors Constructor Description TransformsBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) java.util.Map<ModelBuilder.Perspective,ItemTransformVec3f>
build()
T
end()
ModelBuilder.TransformsBuilder.TransformVecBuilder
transform(ModelBuilder.Perspective type)
Begin building a new transform for the given perspective.
-
-
-
Field Detail
-
transforms
private final java.util.Map<ModelBuilder.Perspective,ModelBuilder.TransformsBuilder.TransformVecBuilder> transforms
-
-
Method Detail
-
transform
public ModelBuilder.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:
java.lang.NullPointerException
- iftype
isnull
-
build
java.util.Map<ModelBuilder.Perspective,ItemTransformVec3f> build()
-
end
public T end()
-
-