-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question] #4
Comments
Take a look here: https://github.com/jaredlll08/Fluxed-Crystals-Reborn |
To answer the question though, it is all json controlled, so a user could set it that iron gives 5 seeds per harvest. |
(That stuff is new to the fixed FC) |
The code looks almost identical. I notice dropCropDrops is still always called with "seed" false unless from block break code. |
Well yes, on break, it should drop the seed, on right click, it should not |
I thought you said
|
Ok that was misworded then, On Monday, July 20, 2015, Reika [email protected] wrote:
|
So...what would you consider more appropriate for autoharvesting then, if the number of seed drops was greater than one? N-1 per autoharvest, or still zero? |
Well what is concidered a harvest for what you sre doing? Right clicking? On Monday, July 20, 2015, Reika [email protected] wrote:
|
Generally speaking I have machinery in mind. Behind the scenes it just spawns the appropriate harvesting resources and sets it "harvested", but the in-universe action is automated breaking and replanting. This to me implies seeds should be dropped. |
In this case, rather do no seeds. |
Done. |
I am writing support for FluxedCrystals into ModCropList, and want to confirm I understand the workings of the mod correctly.
The crops themselves all share one block ID - "crystal" - with the TileEntity used to differentiate between different types of crop. Crop growth state, however, is like most vanilla crops and is stored in the block metadata from 0 to 7 (7 being fully grown).
So, to trigger a "harvest" cycle, I need to reflectively invoke doCropDrops() in the block class, passing in the appropriate parameters, and then setBlockMetadata to zero.
Also, are there any circumstances when a seed is dropped (and for which "seed" is true), aside from breaking the block (i.e. do the crops ever drop a second seed)?
The text was updated successfully, but these errors were encountered: