public class Seed
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
protected |
Seed(java.lang.String name,
int tier,
int amount,
boolean nether,
java.lang.String input,
net.minecraft.item.ItemStack output,
net.minecraft.item.ItemStack secondOutput,
net.minecraft.item.ItemStack thirdOutput,
java.awt.Color color,
SeedReq seedReq,
Chance chance,
boolean compatSeed,
Compat compat)
To create a seed, use
SeedBuilder |
| Modifier and Type | Method and Description |
|---|---|
int |
getAmount() |
Chance |
getChance() |
java.awt.Color |
getColor() |
Compat |
getCompat() |
boolean |
getCompatSeed() |
java.lang.String |
getInput() |
java.lang.String |
getName() |
boolean |
getNether() |
net.minecraft.item.ItemStack |
getOutput() |
net.minecraft.item.ItemStack |
getSecondOutput() |
SeedReq |
getSeedReq() |
net.minecraft.item.ItemStack |
getThirdOutput() |
int |
getTier() |
java.lang.String |
toString() |
protected Seed(java.lang.String name,
int tier,
int amount,
boolean nether,
java.lang.String input,
net.minecraft.item.ItemStack output,
@Nullable
net.minecraft.item.ItemStack secondOutput,
@Nullable
net.minecraft.item.ItemStack thirdOutput,
java.awt.Color color,
SeedReq seedReq,
Chance chance,
boolean compatSeed,
Compat compat)
SeedBuildername - - Name of the seed (Localized or Unlocalized).tier - - The tier of the seed. amount - - Amount of seeds to produce per craft.nether - - If true, the crop can only be planted on Soul Sand.input - - Input ItemStack or OreDict entry for creating the seeds.output - - Output ItemStack or OreDict entry from crafting the shards.secondOutput - - Secondary output ItemStack or OreDict entry from crafting shardsthirdOutput - - Third output ItemStack or OreDict entry from crafting shardscolor - - Color of the Seed/Shard/CropseedReq - - Special conditions for Seedschance - - Chances for events to happencompatSeed - - Whether or not this seed is for a CompatibilitySeedcompat - - The compatibility settings for specific mods.public java.lang.String getName()
public int getTier()
public int getAmount()
public boolean getNether()
public java.lang.String getInput()
public net.minecraft.item.ItemStack getOutput()
public net.minecraft.item.ItemStack getSecondOutput()
public net.minecraft.item.ItemStack getThirdOutput()
public java.awt.Color getColor()
public SeedReq getSeedReq()
public Chance getChance()
public boolean getCompatSeed()
public Compat getCompat()
public java.lang.String toString()
toString in class java.lang.Object