public class SeedReq
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
protected |
SeedReq(BlockStack growthReq,
net.minecraft.world.EnumDifficulty difficulty,
int lightLevelMin,
int lightLevelMax)
To create a seed requirement, use
SeedReqBuilder |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.world.EnumDifficulty |
getDifficulty() |
BlockStack |
getGrowthReq() |
int |
getLightLevelMax() |
int |
getLightLevelMin() |
java.lang.String |
toString() |
protected SeedReq(BlockStack growthReq, net.minecraft.world.EnumDifficulty difficulty, int lightLevelMin, int lightLevelMax)
SeedReqBuildergrowthReq - - BlockStack needed under the soil for the crop to grow.difficulty - - Minimum difficulty needed for the crop to grow.lightLevelMin - - Minimum light level required for a crop to grow.lightLevelMax - - Maximum light level the crop can grow at.public BlockStack getGrowthReq()
public net.minecraft.world.EnumDifficulty getDifficulty()
public int getLightLevelMin()
public int getLightLevelMax()
public java.lang.String toString()
toString in class java.lang.Object