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