Package net.minecraftforge.client.model
Class ModelTransformComposition
java.lang.Object
net.minecraftforge.client.model.ModelTransformComposition
- All Implemented Interfaces:
- IModelTransform,- IForgeModelTransform
An 
IModelTransform that combines the transforms from two child IModelTransform.- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final IModelTransformprivate final IModelTransformprivate final boolean
- 
Constructor SummaryConstructorsConstructorDescriptionModelTransformComposition(IModelTransform first, IModelTransform second) ModelTransformComposition(IModelTransform first, IModelTransform second, boolean uvLock) 
- 
Method SummaryModifier and TypeMethodDescriptionbooleangetPartTransformation(Object part) inthashCode()boolean
- 
Field Details- 
first
- 
second
- 
uvLockprivate final boolean uvLock
 
- 
- 
Constructor Details- 
ModelTransformComposition
- 
ModelTransformComposition
 
- 
- 
Method Details- 
isUvLockedpublic boolean isUvLocked()- Specified by:
- isUvLockedin interface- IModelTransform
 
- 
getRotation- Specified by:
- getRotationin interface- IModelTransform
 
- 
getPartTransformation- Specified by:
- getPartTransformationin interface- IForgeModelTransform
- Parameters:
- part- Part of the model we are wanting to transform. An empty optional means we want a transform for the entire model.
- Returns:
- A transformation to apply to the part, if any. The coordinate system of the transform is determined by the part type.
 
- 
equals
- 
hashCodepublic int hashCode()
 
-