Mekanism Generators

Mekanism Generators

97M Downloads

digital miner bypass protect ftbchunk

joaoespanhol opened this issue · 2 comments

commented

Issue description

When player A protects the chunk and places blocks
If player B does not have access to that protected chunk, use the digital miner filter, you can steal the player's base.

image

Steps to reproduce

Mod
FTB chunk

Mod version
ftb-chunks-forge-1902.3.14-build.218.jar

Forge / Fabric version
1.19.2-43.2.1

Modpack & version
No response

What issue are you having?
When player A protects the chunk and places blocks
If player B does not have access to that protected chunk, use the digital miner filter, you can steal the player's base.

image

Crashlogs
No response

Steps to reproduce
protect chunk
image
other player use filter mekanism digital miner
start

Minecraft version

1.19.2 (Latest)

Forge version

43.2.3

Mekanism version

10.3.5 (Latest)

Other relevant versions

No response

If a (crash)log is relevant for this issue, link it here: (It's almost always relevant)

No response

commented

FTBTeam/FTB-Mods-Issues#605
desht commented 3 days ago
Looking at the code for the Digital Miner, it doesn't fire any block-break events, so FTB Chunks has no way of knowing that it's breaking blocks. This is something you would need to take up with the Mekanism team, as to whether they want to start firing block-break events.

commented

We have been firing block break events since 1.12 if not earlier (wasn't part of the team before 1.12 and don't feel like confirming how far back it goes).

return withFakePlayer(dummy -> !MinecraftForge.EVENT_BUS.post(new BlockEvent.BreakEvent(level, pos, state, dummy)));

So going to go with an ftb chunks bug unless they can explain why it is on our end, as it seems like they just aren't listening to the event.