MCPcopy Create free account
hub / github.com/GregTech6/gregtech6 / side

Method side

src/main/java/gregapi/util/UT.java:1520–1522  ·  view source on GitHub ↗
(ForgeDirection aDirection)

Source from the content-addressed store, hash-verified

1518 }
1519
1520 public static byte side(ForgeDirection aDirection) {
1521 return (byte)(aDirection==null?SIDE_INVALID:aDirection.ordinal());
1522 }
1523
1524 public static byte side(int aSide) {
1525 return aSide > 5 || aSide < 0 ? SIDE_INVALID : (byte)aSide;

Callers 15

onItemUseMethod · 0.80
onItemUseFirstMethod · 0.80
isTriggerActiveMethod · 0.80
getExternalTriggersMethod · 0.80
createEnvironmentMethod · 0.80
findPeripheralMethod · 0.80
canInsertItemMethod · 0.80
canExtractItemMethod · 0.80
setFacingMethod · 0.80
fillMethod · 0.80
drainMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected