}
@Override
public float getExplosionResistance(Entity entity, World world, int x, int y, int z, double explosionX, double explosionY, double explosionZ) {
float modifier = 1.0F;
TileEntityLockable lockable = WorldUtils.get(world, x, y, z, TileEntityLockable.class);
if (lockable != null) {
int persistance = BetterStorageEnchantment.getLevel(lockable.getLock(), "persistance");
if (persistance > 0) modifier += Math.pow(2, persistance);
}
return super.getExplosionResistance(entity) * modifier;
}