Class PlayerPoseOverlap
java.lang.Object
net.ixdarklord.coolcatcanvas.internal.integration.sharedpose.PlayerPoseOverlap
- All Implemented Interfaces:
AnimationOverlap
The player animation mod Better Combat animates players with. It poses the player's parts inside vanilla's own
posing, so CoolCatLib's clips come after it; this tells them which parts it is moving, so they can step aside, and
keeps them out of its first-person pass. Loaded only when that mod is (VanillaArmatures).
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisAnimating(net.minecraft.world.entity.LivingEntity entity) Whether it is animating the entity at all, for drivers and conditions (VanillaModels.hasOverlap(LivingEntity)).overlappingParts(net.minecraft.client.renderer.entity.state.LivingEntityRenderState state) The parts it is moving on the model posed for this state, by vanilla part name ("right_arm"); empty when it moves nothing.booleanskipsDraw(net.minecraft.client.renderer.entity.state.LivingEntityRenderState state) Whether this draw is one of its own that clips and worn armatures should stay out of, such as a first-person pass drawing the player's arms in front of the camera.
-
Field Details
-
MOD_ID
- See Also:
-
-
Constructor Details
-
PlayerPoseOverlap
public PlayerPoseOverlap()
-
-
Method Details
-
overlappingParts
public Set<String> overlappingParts(net.minecraft.client.renderer.entity.state.LivingEntityRenderState state) Description copied from interface:AnimationOverlapThe parts it is moving on the model posed for this state, by vanilla part name ("right_arm"); empty when it moves nothing. Asked once per entity per frame, after vanilla and the other mod have posed the model.- Specified by:
overlappingPartsin interfaceAnimationOverlap
-
isAnimating
public boolean isAnimating(net.minecraft.world.entity.LivingEntity entity) Description copied from interface:AnimationOverlapWhether it is animating the entity at all, for drivers and conditions (VanillaModels.hasOverlap(LivingEntity)).- Specified by:
isAnimatingin interfaceAnimationOverlap
-
skipsDraw
public boolean skipsDraw(net.minecraft.client.renderer.entity.state.LivingEntityRenderState state) Description copied from interface:AnimationOverlapWhether this draw is one of its own that clips and worn armatures should stay out of, such as a first-person pass drawing the player's arms in front of the camera.- Specified by:
skipsDrawin interfaceAnimationOverlap
-