Closed trabpukcip closed 7 years ago
This works although bedrock is shown as scientific notation (1.8E7) which could be worked around.
info.add(I18n.format("tooltip.wawla.generic.blastresist") + ": " + (data.block.getExplosionResistance(data.world, data.pos, null, null) * 5F));
It appears that the Blast Resistance plugin does not actually do anything.
In the code it is hard set to show 5F (5.0) as the value for ANY block.
https://github.com/Darkhax-Minecraft/WAWLA/blob/master/src/main/java/net/darkhax/wawla/plugins/generic/PluginBlastResistance.java#L18