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 TypeFieldDescription -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) Map<ModelBuilder.Perspective,ItemTransform>
build()
end()
Begin building a new transform for the given perspective.
-
Field Details
-
transforms
private final Map<ModelBuilder.Perspective,ModelBuilder.TransformsBuilder.TransformVecBuilder> transforms
-
-
Constructor Details
-
TransformsBuilder
public TransformsBuilder()
-
-
Method Details
-
transform
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
Map<ModelBuilder.Perspective,ItemTransform> build() -
end
-