Content: Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Background: Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Pattern: Blank Waves Notes Sharp Wood Rockface Leather Honey Vertical Triangles
Welcome to TerraFirmaCraft Forums

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

  • Announcements

    • Dries007

      ATTENTION Forum Database Breach   03/04/2019

      There has been a breach of our database. Please make sure you change your password (use a password manager, like Lastpass).
      If you used this password anywhere else, change that too! The passwords themselves are stored hashed, but may old accounts still had old, insecure (by today's standards) hashes from back when they where created. This means they can be "cracked" more easily. Other leaked information includes: email, IP, account name.
      I'm trying my best to find out more and keep everyone up to date. Discord (http://invite.gg/TerraFirmaCraft) is the best option for up to date news and questions. I'm sorry for this, but the damage has been done. All I can do is try to make sure it doesn't happen again.
    • Claycorp

      This forum is now READ ONLY!   01/20/2020

      As of this post and forever into the future this forum has been put into READ ONLY MODE. There will be no new posts! A replacement is coming SoonTM . If you wish to stay up-to-date on whats going on or post your content. Please use the Discord or Sub-Reddit until the new forums are running.

      Any questions or comments can be directed to Claycorp on either platform.
Bunsan

[Solved] Plum Tree Leaves are not generating properly, Fixing caused Growth issue.

3 posts in this topic

Have you read, understood, and followed all of the rules listed in large text at the top of the support forum? (Yes/No): Yes
Answering "no" to the above question will result in your post being deleted.
 
TFC Version #: 26.881
Forge Version #:  1558
Please note that an actual number must be provided for both of the above fields.
Simply saying "current" or "latest" will result in your post being locked, due to the fact that in a large number of cases, users who say they are using the "latest" or "current" version are actually using an outdated version.

 
SSP/SMP (SinglePlayer/MultiPlayer): Both
 
Have you deleted your config files or are using default configs and are still able to reproduce this bug? (Yes/No): Yes
If you answered no to the above question, delete all 3 TFC config files (TFCCrafting, TFCConfig, TFCOre), do NOT edit or add to any of the files, and try to reproduce the bug.
This question is here because many bugs are caused by mistakes in config files. If you are unable to delete your edited config files, please provide a list of the config options you have changed.

 
Do you have any mods other than Forge and TFC installed? (Yes/No): Just WAILA and NEI stuff
If yes, which mods? 
 
If you have Optifine or Cauldron installed, can you still reproduce the bug after uninstalling them? (Yes/No): N/A
If you answered no to the above question, uninstall Optifine/Cauldron and try to reproduce the bug.
Both Optifine and Cauldron edit the base classes of forge that TFC uses. Because of this, we cannot officially support any issues that happen only when these mods are installed. In the majority of cases, TFC is not causing the bug; Optifine/Cauldron is and TFC can do nothing to fix it.
All bug reports should have an answer of "Yes" to this question. If you refuse to uninstall Optifine/Cauldron, and cannot reproduce the bug when the mods are not installed, do not bother making a bug report, as it will be locked and ignored.

 
Pastebin.com link of the Crash Report: 

Description: Plum trees do not grow properly as they are producing an invalid due to the removal of reference to  TFCBlocks.fruitTreeLeaves2 from the tree growth code.

 

The relevant removed sections are from TileEntities/TEFruitTreeWood.java line 103, which prevents the plum trees from growing upwards, which was only noticeable after fixing the issue on line 167. The code removed from line 103 was

|| worldObj.getBlock(xCoord, yCoord + 1, zCoord) == TFCBlocks.fruitTreeLeaves2

and on line 167 replacing: 

Int m = meta & 7;Block bid = meta < 8 ? TFCBlocks.fruitTreeLeaves : TFCBlocks.fruitTreeLeaves2;

with

Block bid = TFCBlocks.fruitTreeLeaves;

and changing all the m to meta in the code that follows. This prevented them from forming plum leaves and producing red apple leaves with what appears to be incorrect data.

 

There are further references to just fruitTreeLeaves in the code for outward growth, but it never had a reference to fruitTreeLeaves2. So I'm not sure if that is necessary. Fixing this did result in normal tree growth and fruit, however sometimes the outward branch growth was delayed until leaf blocks adjacent are removed to update blocks.

0

Share this post


Link to post
Share on other sites

Ha, just went looking for the forum if anyone has this problem. The only plum tree I have seems completely borked:

  • First the growth stopped.
  • I broke all the leaves, and the trunk grew almost instantly.
  • After a few days (in september) leaves started to appear with what appear red apple (cannot be harvested though).

 

TbBgbi1.png

 

 

0

Share this post


Link to post
Share on other sites

Fixed for 79.27, but players will need to manually break all buggy plum leaf blocks themselves.

0

Share this post


Link to post
Share on other sites