Class ComposedModelState
java.lang.Object
de.cech12.bucketlib.client.model.neoforge.ComposedModelState
- All Implemented Interfaces:
net.minecraft.client.resources.model.ModelState
public class ComposedModelState
extends Object
implements net.minecraft.client.resources.model.ModelState
-
Field Summary
Fields inherited from interface net.minecraft.client.resources.model.ModelState
NO_TRANSFORM -
Constructor Summary
ConstructorsConstructorDescriptionComposedModelState(net.minecraft.client.resources.model.ModelState parent, com.mojang.math.Transformation transformation) -
Method Summary
Modifier and TypeMethodDescription@NotNull org.joml.Matrix4fcfaceTransformation(@NotNull net.minecraft.core.Direction side) @NotNull org.joml.Matrix4fcinverseFaceTransformation(@NotNull net.minecraft.core.Direction side) @NotNull com.mojang.math.Transformation
-
Constructor Details
-
ComposedModelState
public ComposedModelState(net.minecraft.client.resources.model.ModelState parent, com.mojang.math.Transformation transformation)
-
-
Method Details
-
transformation
@NotNull public @NotNull com.mojang.math.Transformation transformation()- Specified by:
transformationin interfacenet.minecraft.client.resources.model.ModelState
-
faceTransformation
@NotNull public @NotNull org.joml.Matrix4fc faceTransformation(@NotNull @NotNull net.minecraft.core.Direction side) - Specified by:
faceTransformationin interfacenet.minecraft.client.resources.model.ModelState
-
inverseFaceTransformation
@NotNull public @NotNull org.joml.Matrix4fc inverseFaceTransformation(@NotNull @NotNull net.minecraft.core.Direction side) - Specified by:
inverseFaceTransformationin interfacenet.minecraft.client.resources.model.ModelState
-