Class AbstractClientPlayerFpMixin
java.lang.Object
com.github.razorplay01.fp_pal.mixin.AbstractClientPlayerFpMixin
- All Implemented Interfaces:
IFpAnimatedPlayer
Adds the addon-side first-person accessor to the client player and keeps the FP render state in sync
every tick. PAL's own mixin on the same class already implements
IAnimatedAvatar, so this one
only adds IFpAnimatedPlayer and the tick hook.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfpPal$setFpAnimationController(FpAnimationController controller) Called by the FP animation factory when it creates the controller for this player.
-
Constructor Details
-
AbstractClientPlayerFpMixin
public AbstractClientPlayerFpMixin()
-
-
Method Details
-
fpPal$getFpAnimationController
- Specified by:
fpPal$getFpAnimationControllerin interfaceIFpAnimatedPlayer- Returns:
- the first-person controller of this player, or
nullwhile the animation stack has not been built yet.
-
fpPal$setFpAnimationController
Description copied from interface:IFpAnimatedPlayerCalled by the FP animation factory when it creates the controller for this player.- Specified by:
fpPal$setFpAnimationControllerin interfaceIFpAnimatedPlayer
-