public class Seed
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
protected |
Seed(java.lang.String name,
int tier,
int amount,
java.lang.String input,
java.lang.String output,
java.lang.String secondOutput,
java.lang.String 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() |
java.lang.String |
getOutput() |
net.minecraft.item.ItemStack |
getOutputStack() |
java.lang.String |
getSecondOutput() |
net.minecraft.item.ItemStack |
getSecondOutputStack() |
SeedReq |
getSeedReq() |
java.lang.String |
getThirdOutput() |
net.minecraft.item.ItemStack |
getThirdOutputStack() |
int |
getTier() |
java.lang.String |
toString() |
protected Seed(java.lang.String name,
int tier,
int amount,
java.lang.String input,
java.lang.String output,
@Nullable
java.lang.String secondOutput,
@Nullable
java.lang.String 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.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 java.lang.String getInput()
public java.lang.String getOutput()
public net.minecraft.item.ItemStack getOutputStack()
public java.lang.String getSecondOutput()
public net.minecraft.item.ItemStack getSecondOutputStack()
public java.lang.String getThirdOutput()
public net.minecraft.item.ItemStack getThirdOutputStack()
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