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

    Constructors
    Constructor
    Description
    ComposedModelState(net.minecraft.client.resources.model.ModelState parent, com.mojang.math.Transformation transformation)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull org.joml.Matrix4fc
    faceTransformation(@NotNull net.minecraft.core.Direction side)
     
    @NotNull org.joml.Matrix4fc
    inverseFaceTransformation(@NotNull net.minecraft.core.Direction side)
     
    @NotNull com.mojang.math.Transformation
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      transformation in interface net.minecraft.client.resources.model.ModelState
    • faceTransformation

      @NotNull public @NotNull org.joml.Matrix4fc faceTransformation(@NotNull @NotNull net.minecraft.core.Direction side)
      Specified by:
      faceTransformation in interface net.minecraft.client.resources.model.ModelState
    • inverseFaceTransformation

      @NotNull public @NotNull org.joml.Matrix4fc inverseFaceTransformation(@NotNull @NotNull net.minecraft.core.Direction side)
      Specified by:
      inverseFaceTransformation in interface net.minecraft.client.resources.model.ModelState