MCPcopy Create free account
hub / github.com/BuildCraft/BuildCraft / extendToEncompassBoth

Method extendToEncompassBoth

common/buildcraft/lib/misc/data/Box.java:65–68  ·  view source on GitHub ↗
(BlockPos newMin, BlockPos newMax)

Source from the content-addressed store, hash-verified

63 }
64
65 public void extendToEncompassBoth(BlockPos newMin, BlockPos newMax) {
66 this.min = VecUtil.min(this.min, newMin, newMax);
67 this.max = VecUtil.max(this.max, newMin, newMax);
68 }
69
70 public void setMin(BlockPos min) {
71 if (min == null) return;

Callers 3

initializeMethod · 0.95
initializeCenterMethod · 0.95
extendToEncompassMethod · 0.95

Calls 2

minMethod · 0.95
maxMethod · 0.95

Tested by

no test coverage detected