Add IBlockDefinition `resistance` Getter
ubergarm opened this issue ยท 1 comments
Describe the feature you'd like
The setter was added way back in #412 but there is still no getter for blast resistance
like there is for mining hardness
.
The underlying forge call to wrap is probably something like
data.block.getExplosionResistance(data.world, data.pos, null, null);
Describe alternatives you've considered
WAWLA can show a blocks resistance, but The One Probe does not have that feature as far as i can tell at least in 1.12.2.
Additional context
I am interested in adding some items which display block resistance for my modpack Rotten Economy which has a lot of mechanics around mob griefing and explosions so it is important for players to be able to access that info to compare blocks stats.
Cheers!
Minecraft version
1.12