Mekanism-tilera-Edition/common/ic2/api/crops/BaseSeed.java

57 lines
1 KiB
Java
Raw Normal View History

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;
2013-05-07 22:12:07 +02:00
/**
* Plant size.
*/
public int size;
2013-05-07 22:12:07 +02:00
/**
* Plant growth stat.
*/
public int statGrowth;
2013-05-07 22:12:07 +02:00
/**
* Plant gain stat.
*/
public int statGain;
2013-05-07 22:12:07 +02:00
/**
* Plant resistance stat.
*/
public int statResistance;
2013-05-07 22:12:07 +02:00
/**
* For internal usage only.
*/
public int stackSize;
2013-05-07 22:12:07 +02:00
/**
* Create a BaseSeed object.
*
* @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
*/
public BaseSeed(int id1, int size1, int statGrowth1, int statGain1, int statResistance1, int stackSize1) {
2013-05-07 22:12:07 +02:00
super();
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
}
}