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

Method updateTick

src/main/java/gregapi/block/BlockBase.java:127–131  ·  view source on GitHub ↗
(World aWorld, int aX, int aY, int aZ, Random aRandom)

Source from the content-addressed store, hash-verified

125 public void onBlockAdded2(World aWorld, int aX, int aY, int aZ) {/**/}
126
127 @Override
128 public final void updateTick(World aWorld, int aX, int aY, int aZ, Random aRandom) {
129 if (aWorld.isRemote || checkGravity(aWorld, aX, aY, aZ)) return;
130 updateTick2(aWorld, aX, aY, aZ, aRandom);
131 }
132
133 public boolean checkGravity(World aWorld, int aX, int aY, int aZ) {
134 byte aMeta = WD.meta(aWorld, aX, aY, aZ);

Callers

nothing calls this directly

Calls 2

checkGravityMethod · 0.95
updateTick2Method · 0.95

Tested by

no test coverage detected