mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-06-01 13:33:38 +02:00
57 lines
1.3 KiB
Java
57 lines
1.3 KiB
Java
package powercrystals.minefactoryreloaded.api;
|
|
|
|
/**
|
|
* Determines what algorithm the Harvester uses when it encounters this
|
|
* IFactoryHarvestable in the world.
|
|
*
|
|
* @author PowerCrystals
|
|
*/
|
|
public enum HarvestType {
|
|
|
|
/**
|
|
* Just break the single block - no special action needed. e.g. Carrots,
|
|
* flowers, wheat.
|
|
*/
|
|
Normal,
|
|
/**
|
|
* Search for harvestable blocks adjacent to this block but leave this
|
|
* block. e.g. Pumpkin, melon
|
|
*/
|
|
Gourd,
|
|
/**
|
|
* Search for identical blocks above.
|
|
*/
|
|
Column,
|
|
/**
|
|
* Search for identical blocks above but leave the bottom one for the
|
|
* future. e.g. Cactus, sugarcane.
|
|
*/
|
|
LeaveBottom,
|
|
/**
|
|
* This block is the base of a tree and the harvester should enter
|
|
* tree-cutting mode.
|
|
*/
|
|
Tree,
|
|
/**
|
|
* This block is the base of the tree and the harvester should enter
|
|
* tree-cutting mode.
|
|
* The tree is searched for in the negative y axis instead.
|
|
*/
|
|
TreeFlipped,
|
|
/**
|
|
* This block is part of a tree as above, but leaves are cut before logs.
|
|
* The tree is searched for in the current mode.
|
|
* <p>
|
|
* If not in tree-cutting mode, tree-cutting mode will be entered as though
|
|
* the type was Tree.
|
|
*/
|
|
TreeLeaf,
|
|
/**
|
|
* This block is part of a tree as above, but fruits are cut before logs.
|
|
* e.g. cocoa
|
|
* The tree is not searched for.
|
|
*/
|
|
TreeFruit
|
|
|
|
}
|