Ellpeck / ActuallyAdditions

A Minecraft Mod about lots of useful gadgets and things!
http://minecraft.curseforge.com/projects/actually-additions
MIT License
214 stars 99 forks source link

Drill breaks both double double half-slabs #584

Closed shabble closed 7 years ago

shabble commented 7 years ago

Type:

Bug?

Description

Where a block is comprised of 2 slabs in the same block-space, using the drill to break one will cause both to be broken.

Steps to reproduce

  1. place 2 slabs to form a single block (tested with vanilla oak slabs & smooth-stone slabs)
  2. targeting with tool shows a bounding box around either upper/lower slab
  3. breaking with most tools (vanilla pickaxe/axe, TiCon tools, or AA AIOT) will only break the targeted slab
  4. when broken with drill (seems independent of upgrades, including silk touch), both slabs in the block are broken.

Expected

Only the targeted half is broken.

Actual

Both slabs break, and then a horde of tiny zombies escapes through the resulting gap and brutally murder me*.

* Actual zombie-murdering not repeatable. May require zombies. Terms & Conditions apply.

Versions

Sad Trombone

I am reliably informed the minecraft slab-handling logic is pure distilled madness, and this issue may not be worth the time, money, or potential insanity risked in fixing it.

Ellpeck commented 7 years ago

Both slabs being broken is vanilla behavior. It's how it's supposed to work. So this issue report really confuses me. :v

shabble commented 7 years ago

I could just be being an idiot then, but I'm fairly certain some tools were selectively breaking adjacent slabs. It might just be that in every case I thought it was 'working', one slab was at the top of a block, and the other at the bottom of the block above.

I'll test and see.

shabble commented 7 years ago

Mystery (probably) solved: https://mods.curse.com/mc-mods/minecraft/241895-kleeslabs is part of the SkyFactory 3 pack.

Ellpeck commented 7 years ago

Note for myself: Maybe I am missing an isCancelled() check in the custom breaking code's break event call.

falseresync commented 7 years ago

You also can press shift and break only one slab in vanilla (added in 1.7.4)