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

Method canCreatureSpawn

src/main/java/gregapi/block/BlockBase.java:91–91  ·  view source on GitHub ↗
(EnumCreatureType type, IBlockAccess aWorld, int aX, int aY, int aZ)

Source from the content-addressed store, hash-verified

89 @Override public void registerBlockIcons(IIconRegister aIconRegister) {/**/}
90 @Override public boolean canSustainPlant(IBlockAccess aWorld, int aX, int aY, int aZ, ForgeDirection aSide, IPlantable aPlant) {return F;}
91 @Override public boolean canCreatureSpawn(EnumCreatureType type, IBlockAccess aWorld, int aX, int aY, int aZ) {byte aMeta = WD.meta(aWorld, aX, aY, aZ); return canCreatureSpawn(aMeta) && isSideSolid(aMeta, SIDE_TOP);}
92 @Override public boolean isFireSource(World aWorld, int aX, int aY, int aZ, ForgeDirection aSide) {return isFireSource(WD.meta(aWorld, aX, aY, aZ));}
93 @Override public boolean isFlammable(IBlockAccess aWorld, int aX, int aY, int aZ, ForgeDirection aSide) {return isFlammable(WD.meta(aWorld, aX, aY, aZ));}
94 @Override public int getFlammability(IBlockAccess aWorld, int aX, int aY, int aZ, ForgeDirection aSide) {return getFlammability(WD.meta(aWorld, aX, aY, aZ));}

Callers

nothing calls this directly

Calls 2

metaMethod · 0.95
isSideSolidMethod · 0.95

Tested by

no test coverage detected