Posted June 4, 201411 yr I have used this to try and get it working (the bit in bold) but it hasn't taken affect. @Override public boolean getCanSpawnHere() { int i = MathHelper.floor_double(this.posX); int j = MathHelper.floor_double(this.boundingBox.minY); int k = MathHelper.floor_double(this.posZ); return this.worldObj.getBlock(i, j - 1, k) == Blocks.stone && super.getCanSpawnHere() && this.chunkCoordY <= 15; // && this.worldObj.getFullBlockLightValue(i, j, k) < 8; }
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.