MCPcopy Index your code
hub / github.com/GregTech6/gregtech6 / bind4

Method bind4

src/main/java/gregapi/util/UT.java:1556–1556  ·  view source on GitHub ↗
(long   aBoundValue)

Source from the content-addressed store, hash-verified

1554 public static byte bind2 (long aBoundValue) {return (byte) Math.max(0, Math.min( 3, aBoundValue));}
1555 public static byte bind3 (long aBoundValue) {return (byte) Math.max(0, Math.min( 7, aBoundValue));}
1556 public static byte bind4 (long aBoundValue) {return (byte) Math.max(0, Math.min( 15, aBoundValue));}
1557 public static byte bind5 (long aBoundValue) {return (byte) Math.max(0, Math.min( 31, aBoundValue));}
1558 public static byte bind6 (long aBoundValue) {return (byte) Math.max(0, Math.min( 63, aBoundValue));}
1559 public static byte bind7 (long aBoundValue) {return (byte) Math.max(0, Math.min( 127, aBoundValue));}

Callers 15

setMethod · 0.95
replaceMethod · 0.95
onItemTooltipMethod · 0.80
getMetaDataMethod · 0.80
getLightLevelMethod · 0.80
getRedstoneIncomingMethod · 0.80
getComparatorIncomingMethod · 0.80
qualMethod · 0.80
getSaplingModifierMethod · 0.80
chargeMethod · 0.80
dischargeMethod · 0.80
getDigSpeedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected