Interface BendablePart

All Known Implementing Classes:
ModelPartMixin

public interface BendablePart
A vanilla model part that can bend along its length (ModelPartMixin).
  • Method Details

    • coolcatlib$setBend

      void coolcatlib$setBend(float amount, float direction, float start, float end)
      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.
    • coolcatlib$bendAmount

      float coolcatlib$bendAmount()
    • coolcatlib$bendDirection

      float coolcatlib$bendDirection()
    • coolcatlib$bendStart

      float coolcatlib$bendStart()
    • coolcatlib$bendEnd

      float coolcatlib$bendEnd()
    • coolcatlib$cubes

      List<net.minecraft.client.model.geom.ModelPart.Cube> coolcatlib$cubes()
    • of

      static BendablePart of(net.minecraft.client.model.geom.ModelPart part)