Class CompositeModelState
java.lang.Object
io.github.vampirestudios.vampirelib.client.model.CompositeModelState
- All Implemented Interfaces:
ModelStateExtensions,net.minecraft.client.resources.model.ModelState
public class CompositeModelState
extends Object
implements net.minecraft.client.resources.model.ModelState, ModelStateExtensions
An
ModelState that combines the transforms from two child ModelState.-
Constructor Summary
ConstructorsConstructorDescriptionCompositeModelState(net.minecraft.client.resources.model.ModelState first, net.minecraft.client.resources.model.ModelState second) CompositeModelState(net.minecraft.client.resources.model.ModelState first, net.minecraft.client.resources.model.ModelState second, boolean uvLock) -
Method Summary
Modifier and TypeMethodDescriptionbooleancom.mojang.math.TransformationgetPartTransformation(Object part) com.mojang.math.TransformationinthashCode()boolean
-
Constructor Details
-
CompositeModelState
public CompositeModelState(net.minecraft.client.resources.model.ModelState first, net.minecraft.client.resources.model.ModelState second) -
CompositeModelState
public CompositeModelState(net.minecraft.client.resources.model.ModelState first, net.minecraft.client.resources.model.ModelState second, boolean uvLock)
-
-
Method Details
-
isUvLocked
public boolean isUvLocked()- Specified by:
isUvLockedin interfacenet.minecraft.client.resources.model.ModelState
-
getRotation
public com.mojang.math.Transformation getRotation()- Specified by:
getRotationin interfacenet.minecraft.client.resources.model.ModelState
-
getPartTransformation
- Specified by:
getPartTransformationin interfaceModelStateExtensions
-
equals
-
hashCode
public int hashCode()
-