Block break event does not propagate
allanf181 opened this issue ยท 6 comments
https://github.com/ErrorMikey/JustHammers/blob/8a869ca1369ec470ff62279dbdd72853b529d2af/common/src/main/java/pro/mikey/justhammers/HammerItem.java#L130
this code only triggers the event in Architectury, which does not pass it on to the modloader
https://github.com/Shadows-of-Fire/Apotheosis/blob/1176c37bc8cb98f395788a097427ba9164c31e85/src/main/java/dev/shadowsoffire/apotheosis/ench/EnchModuleEvents.java#L130-L137
When I use the hammer with the apotheosis enchantment, the enchantment is not activated, it uses the forge's breakblock event, which is only triggered when the ServerPlayerGameMode.destroyBlock method is called.
https://github.com/stal111/Forbidden-Arcanus/blob/1.20.x/src/main/java/com/stal111/forbidden_arcanus/common/block/StellaArcanumBlock.java#L28-L37
Stella Arcanum from forbidden arcanus dont explode when mined with hammer