2013-05-07 22:12:07 +02:00
|
|
|
package ic2.api.crops;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Base agriculture seed. Used to determine the state of a plant once it is planted from an item.
|
|
|
|
*/
|
|
|
|
public class BaseSeed {
|
|
|
|
/**
|
|
|
|
* Plant ID.
|
|
|
|
*/
|
|
|
|
public int id;
|
2014-02-14 23:55:34 +01:00
|
|
|
|
2013-05-07 22:12:07 +02:00
|
|
|
/**
|
|
|
|
* Plant size.
|
|
|
|
*/
|
|
|
|
public int size;
|
2014-02-14 23:55:34 +01:00
|
|
|
|
2013-05-07 22:12:07 +02:00
|
|
|
/**
|
|
|
|
* Plant growth stat.
|
|
|
|
*/
|
|
|
|
public int statGrowth;
|
2014-02-14 23:55:34 +01:00
|
|
|
|
2013-05-07 22:12:07 +02:00
|
|
|
/**
|
|
|
|
* Plant gain stat.
|
|
|
|
*/
|
|
|
|
public int statGain;
|
2014-02-14 23:55:34 +01:00
|
|
|
|
2013-05-07 22:12:07 +02:00
|
|
|
/**
|
|
|
|
* Plant resistance stat.
|
|
|
|
*/
|
|
|
|
public int statResistance;
|
2014-02-14 23:55:34 +01:00
|
|
|
|
2013-05-07 22:12:07 +02:00
|
|
|
/**
|
|
|
|
* For internal usage only.
|
|
|
|
*/
|
|
|
|
public int stackSize;
|
2014-02-14 23:55:34 +01:00
|
|
|
|
2013-05-07 22:12:07 +02:00
|
|
|
/**
|
|
|
|
* Create a BaseSeed object.
|
|
|
|
*
|
2014-02-14 23:55:34 +01:00
|
|
|
* @param id1 plant ID
|
|
|
|
* @param size1 plant size
|
|
|
|
* @param statGrowth1 plant growth stat
|
|
|
|
* @param statGain1 plant gain stat
|
|
|
|
* @param statResistance1 plant resistance stat
|
|
|
|
* @param stackSize1 for internal usage only
|
2013-05-07 22:12:07 +02:00
|
|
|
*/
|
2014-02-14 23:55:34 +01:00
|
|
|
public BaseSeed(int id1, int size1, int statGrowth1, int statGain1, int statResistance1, int stackSize1) {
|
2013-05-07 22:12:07 +02:00
|
|
|
super();
|
2014-02-14 23:55:34 +01:00
|
|
|
this.id = id1;
|
|
|
|
this.size = size1;
|
|
|
|
this.statGrowth = statGrowth1;
|
|
|
|
this.statGain = statGain1;
|
|
|
|
this.statResistance = statResistance1;
|
|
|
|
this.stackSize = stackSize1;
|
2013-05-07 22:12:07 +02:00
|
|
|
}
|
|
|
|
}
|