493494495496497498499500501502503
if (block == null) { return 0; } if (!block.shouldCheckWeakPower(this, x, y, z, direction)) { return this.getBlockPowerInput(x, y, z); } else { return block.isProvidingWeakPower(this, x, y, z, direction); } }