Skip to content
Discussion options

You must be logged in to vote

Solved by changing the supports function:

public class SuspiciousCobbleEntity extends BrushableBlockEntity {
    public SuspiciousCobbleEntity(BlockPos pos, BlockState state) {
        super(pos, state);
    }

    @Override
    public BlockEntityType<?> getType() {
        return ModBlocks.SUSPICIOUS_COBBLE_ENTITY;
    }

    public boolean supports(BlockState state) {
        return this.getType().supports(state);
    }

}

I don't know why this works, but it does the job.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ffmsb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
1 participant