Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Obsidian can be quickly mined by breaking stone next to it #14

Open
Draylar opened this issue Mar 3, 2021 · 0 comments · May be fixed by #30
Open

Obsidian can be quickly mined by breaking stone next to it #14

Draylar opened this issue Mar 3, 2021 · 0 comments · May be fixed by #30

Comments

@Draylar
Copy link
Owner

Draylar commented Mar 3, 2021

Possible solutions:

  • setting delta of center block to the average of the block around it
  • setting delta of center block to the max value of blocks around it
clarkf added a commit to clarkf/magna that referenced this issue Oct 12, 2023
Players were able to cheese hard block collection by surrounding hard
blocks with softer blocks. For example, it was possible to mine up to 8
obsidian at cobblestone break-speed by targeting cobblestone when
breaking. To solve this, a new `AbstractBlockState` mixin was
introduced. I tried to solve this at other levels (preferably without a
mixin), but wasn't able to get all the necessary information anywhere
other than at the BlockState level.

The minimal breaking delta (which is effectively the same as maximum
block hardness) is used instead of the targeted block hardness. Using
the average basically didn't solve the issue—it was possible to surround
a hard block with softer blocks to 'dilute' the hardness.

Fixes Draylar#14

Signed-off-by: Clark Fischer <clark.fischer@gmail.com>
clarkf added a commit to clarkf/magna that referenced this issue Oct 12, 2023
Players were able to cheese hard block collection by surrounding hard
blocks with softer blocks. For example, it was possible to mine up to 8
obsidian at cobblestone break-speed by targeting cobblestone when
breaking. To solve this, a new `AbstractBlockState` mixin was
introduced. I tried to solve this at other levels (preferably without a
mixin), but wasn't able to get all the necessary information anywhere
other than at the BlockState level.

The minimal breaking delta (which is effectively the same as maximum
block hardness) is used instead of the targeted block hardness. Using
the average basically didn't solve the issue—it was possible to surround
a hard block with softer blocks to 'dilute' the hardness.

Fixes Draylar#14

Signed-off-by: Clark Fischer <clark.fischer@gmail.com>
@clarkf clarkf linked a pull request Oct 12, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant