Skip to content

"hold last frame" animation type always resets #63

@Addi3

Description

@Addi3

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:

https://youtu.be/t4yQO6FiOTo

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions