Class ModelPartMixin
java.lang.Object
net.ixdarklord.coolcatcanvas.internal.mixin.client.ModelPartMixin
- All Implemented Interfaces:
BendablePart
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatfloatfloatfloatList<net.minecraft.client.model.geom.ModelPart.Cube> voidcoolcatlib$setBend(float amount, float direction, float start, float end) Bends the part fromstarttoendalong its Y (model pixels, in its own space) byamountradians, towarddirectionradians round the length (0 forward).
-
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:BendablePartBends the part fromstarttoendalong its Y (model pixels, in its own space) byamountradians, towarddirectionradians round the length (0 forward). An amount of 0 straightens it.- Specified by:
coolcatlib$setBendin interfaceBendablePart
-
coolcatlib$bendAmount
public float coolcatlib$bendAmount()- Specified by:
coolcatlib$bendAmountin interfaceBendablePart
-
coolcatlib$bendDirection
public float coolcatlib$bendDirection()- Specified by:
coolcatlib$bendDirectionin interfaceBendablePart
-
coolcatlib$bendStart
public float coolcatlib$bendStart()- Specified by:
coolcatlib$bendStartin interfaceBendablePart
-
coolcatlib$bendEnd
public float coolcatlib$bendEnd()- Specified by:
coolcatlib$bendEndin interfaceBendablePart
-
coolcatlib$cubes
- Specified by:
coolcatlib$cubesin interfaceBendablePart
-