-
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
bugSomething isn't workingSomething isn't working
Description
for the animated bedrock blocks, the hold last frame animation type always gets reset (even if you make it override)
Code:
public void useOn(World world, boolean sneaking, PlayerEntity player) {
if (world.isClient) return;
BlockState state = world.getBlockState(pos);
if (state.get(MonitorCoverBlock.OPEN)) {
this.playAnimation(new BedrockAnimationReference("monitor_cover_block", "open"));
} else {
this.playAnimation(new BedrockAnimationReference("monitor_cover_block", "close"));
}
}
recording of issue:
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working