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