Class ModelPartMixin

java.lang.Object
net.ixdarklord.coolcatcanvas.internal.mixin.client.ModelPartMixin
All Implemented Interfaces:
BendablePart

public abstract class ModelPartMixin extends Object implements BendablePart
  • Constructor Details

    • ModelPartMixin

      public ModelPartMixin()
  • Method Details

    • coolcatlib$setBend

      public void coolcatlib$setBend(float amount, float direction, float start, float end)
      Description copied from interface: BendablePart
      Bends the part from start to end along its Y (model pixels, in its own space) by amount radians, toward direction radians round the length (0 forward). An amount of 0 straightens it.
      Specified by:
      coolcatlib$setBend in interface BendablePart
    • coolcatlib$bendAmount

      public float coolcatlib$bendAmount()
      Specified by:
      coolcatlib$bendAmount in interface BendablePart
    • coolcatlib$bendDirection

      public float coolcatlib$bendDirection()
      Specified by:
      coolcatlib$bendDirection in interface BendablePart
    • coolcatlib$bendStart

      public float coolcatlib$bendStart()
      Specified by:
      coolcatlib$bendStart in interface BendablePart
    • coolcatlib$bendEnd

      public float coolcatlib$bendEnd()
      Specified by:
      coolcatlib$bendEnd in interface BendablePart
    • coolcatlib$cubes

      public List<net.minecraft.client.model.geom.ModelPart.Cube> coolcatlib$cubes()
      Specified by:
      coolcatlib$cubes in interface BendablePart