[MC-4482] Saplings placed on Farmland are not affected by Bonemeal Created: 11/Dec/12 Updated: 23/Sep/14 Resolved: 28/Aug/13 |
|
| Status: | Resolved |
| Project: | Minecraft: Java Edition |
| Component/s: | None |
| Affects Version/s: | Minecraft 1.4.5, Snapshot 12w49a, Snapshot 12w50a, Minecraft 1.4.6, Minecraft 1.4.7, Snapshot 13w04a, Snapshot 13w09a, Snapshot 13w09b, Snapshot 13w09c, Minecraft 1.5, Snapshot 13w11a, Minecraft 1.5.2, Minecraft 1.6.2 |
| Fix Version/s: | Minecraft 13w36a |
| Type: | Bug | ||
| Reporter: | FireHunterX | Assignee: | EvilSeph (Warren Loo) |
| Resolution: | Fixed | Votes: | 5 |
| Labels: | None | ||
| Environment: |
Java 7 |
||
| Issue Links: |
|
||||||||||||
| CHK: | |||||||||||||
| Confirmation Status: | Confirmed | ||||||||||||
| Game Mode: | Survival | ||||||||||||
| Description |
|
You can't use bone meal on a sapling placed on tilled dirt. If you try, one bone meal will be consumed but nothing will happen. Tried on both 1.4.5 and 1.4.6 |
| Comments |
| Comment by EclipsEyE [ 23/Sep/14 ] |
|
@Sonicwave yeah... it would depend on the sapling, anyway, I followed @Kumasasa 's advice and posted it on the minecraftsuggestions reddit http://www.reddit.com/r/minecraftsuggestions/ |
| Comment by [Mod] Sonicwave [ 23/Sep/14 ] |
|
@EclipsEyE: I believe that you can place saplings in flower pots without them growing (not the same thing, but the closest to it I guess). |
| Comment by EclipsEyE [ 22/Sep/14 ] |
|
@Kumasasa btw, do you know how hard it would be to re-implement this coding-wise? |
| Comment by Kumasasa [ 22/Sep/14 ] |
|
This is unlikely yet not impossible |
| Comment by EclipsEyE [ 22/Sep/14 ] |
|
@Kumasasa random thought, if it were to be reimplemented via minecraftsuggestions, will it be ensured that it won't just be seen as a bug by someone and re-reported as a bug and have it removed again? |
| Comment by EclipsEyE [ 08/Sep/14 ] |
|
That poster rings so true |
| Comment by EclipsEyE [ 08/Sep/14 ] |
|
@[Mod] Kumasasa I personally never saw it as a bug because I figured it was doing no harm, any way thanks for the link. |
| Comment by Kumasasa [ 08/Sep/14 ] |
|
@EclipsEyE: This was a bug and was fixed and it will not be reverted. |
| Comment by EclipsEyE [ 08/Sep/14 ] |
|
I was using this "issue" as a feature for decoration and landscaping, and now I can't anymore. I would like to know how I could reopen this and request mojang to reverse it for those of us that like to use it for aesthetic purposes. I'm a bit late to the party as I've only just updated to 1.8 and only recently learned about this site. |
| Comment by FireHunterX [ 26/Apr/13 ] |
|
@Markku: I wouldn't assume that they didn't update the code, I would assume that it was an oversight. People don't really put saplings on farmland. |
| Comment by Markku [ 02/Mar/13 ] |
|
Fixes WorldGenTrees.generate() ...
blockId = world.getBlockId(x, y - 1, z);
//if ((blockId == Block.grass.blockID || blockId == Block.dirt.blockID) && y < 256 - height - 1) {
if (blockId != Block.grass.blockID && blockId != Block.dirt.blockID && blockId != Block.tilledField.blockID )
return false;
...
WorldGenForest.generate() int groundBlockId = par1World.getBlockId(x, y - 1, z); //if ((groundBlockId == Block.grass.blockID || groundBlockId == Block.dirt.blockID) && y < 256 - var6 - 1) { if (groundBlockId != Block.grass.blockID && groundBlockId != Block.dirt.blockID && groundBlockId != Block.tilledField.blockID) return false; ... WorldGenBigTree.validTreeLocation() ...
int blockId = this.worldObj.getBlockId(this.basePos[0], this.basePos[1] - 1, this.basePos[2]);
//if (blockId != 2 && blockId != 3)
if (blockId != Block.grass.blockID && blockId != Block.dirt.blockID && blockId != Block.tilledField.blockID)
return false;
...
WorldGenHugeTrees.generate() ...
var12 = world.getBlockId(var10, var8, var11);
if (var12 != 0 && var12 != Block.leaves.blockID && var12 != Block.grass.blockID
&& var12 != Block.dirt.blockID && var12 != Block.wood.blockID && var12 != Block.sapling.blockID
&& var12 != Block.tilledField.blockID) { // ADDED
var7 = false;
}
...
...
int groundBlockId = world.getBlockId(x, y - 1, z);
//if ((groundBlockId == Block.grass.blockID || groundBlockId == Block.dirt.blockID) && y < 256 - var6 - 1) {
if (groundBlockId != Block.grass.blockID && groundBlockId != Block.dirt.blockID && groundBlockId != Block.tilledField.blockID)
return false;
...
WorldGenTaiga2 ...
int groundBlockId = world.getBlockId(x, y - 1, z);
//if ((groundBlockId == Block.grass.blockID || groundBlockId == Block.dirt.blockID) && y < 256 - var6 - 1) {
if (groundBlockId != Block.grass.blockID && groundBlockId != Block.dirt.blockID && groundBlockId != Block.tilledField.blockID)
return false;
...
WorldGenTaiga1 should also be given the same treatment, although it seems it is only used from world generation (which probably isn't trying to grow trees on farmland). Background protected boolean canThisPlantGrowOnThisBlockID(int par1) { return par1 == Block.grass.blockID || par1 == Block.dirt.blockID || par1 == Block.tilledField.blockID; } However, the tree generators only check for two of the block types, perhaps because trees are older stuff than farmland and their code was forgotten to be updated (curses of not following proper programming practices). Apparently mushrooms are not allowed to be planted on tilled dirt (I wonder why not? one can plant them even on iron block), but since they can not be planted there, there is no need to fix their huge version growth, either (for now, at least). |
| Comment by Tails [ 12/Dec/12 ] |
|
Used up whole stack of bonemeal, nothing happened - confirmed. |
| Comment by [Mod] CubeTheThird [ 12/Dec/12 ] |
|
This is true, and because the proper conditions seem to be met, it is indeed not a duplicate of that other bug. |
| Comment by FireHunterX [ 11/Dec/12 ] |
|
I saw a post earlier about saplings not growing under a roof, but the saplings I planted on farmland wouldn't grow under normal circumstances. They were under direct sunlight and had plenty of space. |
| Comment by [Mod] CubeTheThird [ 11/Dec/12 ] |
|
Can confirm, though not sure if intended. |