MCPcopy Index your code
hub / github.com/cabaletta/baritone / avoidanceMultiplier

Method avoidanceMultiplier

src/main/java/baritone/utils/ToolSet.java:195–197  ·  view source on GitHub ↗
(Block b)

Source from the content-addressed store, hash-verified

193 }
194
195 private double avoidanceMultiplier(Block b) {
196 return Baritone.settings().blocksToAvoidBreaking.value.contains(b) ? Baritone.settings().avoidBreakingMultiplier.value : 1;
197 }
198
199 /**
200 * Calculates how long would it take to mine the specified block given the best tool

Callers 1

Calls 1

settingsMethod · 0.95

Tested by

no test coverage detected