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

Method collectable_air

src/main/java/gregapi/util/WD.java:399–401  ·  view source on GitHub ↗
(World aWorld, int aX, int aY, int aZ)

Source from the content-addressed store, hash-verified

397 return !MD.GC.mLoaded || !(aWorld.provider instanceof IGalacticraftWorldProvider) || OxygenUtil.checkTorchHasOxygen(aWorld, NB, aX, aY, aZ);
398 }
399 public static boolean collectable_air(World aWorld, int aX, int aY, int aZ) {
400 return (!MD.GC.mLoaded || !(aWorld.provider instanceof IGalacticraftWorldProvider)) && !hasCollide(aWorld, aX, aY, aZ) && !liquid(aWorld, aX, aY, aZ);
401 }
402
403 /** @return the regular Environment Temperature of the World at this Location according to my calculations. In Kelvin, ofcourse. */
404 public static long envTemp(World aWorld, int aX, int aY, int aZ) {

Callers 1

onTickPreMethod · 0.95

Calls 2

hasCollideMethod · 0.95
liquidMethod · 0.95

Tested by

no test coverage detected