Ender IO Zoo

Ender IO Zoo

962k Downloads

(Suggestion) IC2 rubber tree chop mode

catt0 opened this issue ยท 0 comments

commented

Issue Description:

IC2 rubber trees can be planted by the farming station, but are only considered to be a source of resin, cutting them down is not supported. Forestry got around this using different modes, the farming station could differentiate based on the available tool.

I forked the mod and added the functionality, you can view it here. Additionally the saplings are not planted with one block in between, if an axe is present.

Problems I can think of are:

  1. Behavior of the farming station now depends on the tools, but this is comparable to the cocoa farmer.
  2. If the axe runs out, the saplings will be replanted in the spaced out layout
  3. Chopping down the logs gives only rubber wood, instead of additional sap for the logs containing sap holes
  4. Old farms with an axe start chopping their trees, i.e. you put an axe in out of habit or you share the rubber farm with a standard tree farm

Especially because of the last problem a config option might be needed. Fixing the 3rd problem should be possible, but it would require reimplementing some logic or a change to other parts of the farming code (from what I understood). Maybe not receiving the rubber is a good trade-off for having it chop down the trees.

If this is something to be included in the mod I can send a pull request, with an added config option if so desired.

What happens:

IC2 rubber trees are planted by the farming station and the sap is gathered once grown. The trees are not cut down.

What you expected to happen:

If an axe is present in the farming station, the trees should be cut down instead.

Steps to reproduce:

  1. Farming station with IC2 rubber saplings and an axe
  2. Wait for trees to grow
  3. Trees are not cutdown

Affected Versions (Do not use "latest"):

  • EnderIO: 1.7.10-2.3.0.0_master_d2efbd5_beta
  • EnderCore: 1.7.10-0.2.0.35_beta
  • Minecraft: 1.7.10
  • Forge: 10.13.4.1448

Your most recent log file where the issue was present:

http://pastebin.com/iVaSTcET