public class MCOreDictEntry
extends java.lang.Object
implements crafttweaker.api.oredict.IOreDictEntry
Constructor and Description |
---|
MCOreDictEntry(java.lang.String id) |
Modifier and Type | Method and Description |
---|---|
void |
add(crafttweaker.api.item.IItemStack... items) |
void |
addAll(crafttweaker.api.oredict.IOreDictEntry entry) |
void |
addItems(crafttweaker.api.item.IItemStack[] items) |
crafttweaker.api.item.IIngredient |
amount(int amount) |
crafttweaker.api.item.IItemStack |
applyTransform(crafttweaker.api.item.IItemStack item,
crafttweaker.api.player.IPlayer byPlayer) |
boolean |
contains(crafttweaker.api.item.IIngredient ingredient) |
boolean |
contains(crafttweaker.api.item.IItemStack item) |
boolean |
equals(java.lang.Object other) |
int |
getAmount() |
crafttweaker.api.item.IItemStack |
getFirstItem() |
java.lang.String |
getId() |
java.lang.Object |
getInternal() |
crafttweaker.api.item.IItemStack[] |
getItemArray() |
java.util.List<crafttweaker.api.item.IItemStack> |
getItems() |
java.util.List<crafttweaker.api.liquid.ILiquidStack> |
getLiquids() |
java.lang.String |
getMark() |
java.lang.String |
getName() |
static java.util.List<net.minecraft.util.NonNullList<net.minecraft.item.ItemStack>> |
getOredictContents() |
static java.util.List<net.minecraft.util.NonNullList<net.minecraft.item.ItemStack>> |
getOredictContentsUn() |
int |
hashCode() |
boolean |
hasTransformers() |
boolean |
isEmpty() |
crafttweaker.api.item.IIngredient |
marked(java.lang.String mark) |
boolean |
matches(crafttweaker.api.item.IItemStack item) |
boolean |
matches(crafttweaker.api.liquid.ILiquidStack liquid) |
boolean |
matchesExact(crafttweaker.api.item.IItemStack item) |
void |
mirror(crafttweaker.api.oredict.IOreDictEntry other) |
crafttweaker.api.item.IIngredient |
only(crafttweaker.api.item.IItemCondition condition) |
crafttweaker.api.item.IIngredient |
or(crafttweaker.api.item.IIngredient ingredient) |
void |
remove(crafttweaker.api.item.IItemStack... items) |
void |
removeItems(crafttweaker.api.item.IItemStack[] items) |
java.lang.String |
toString() |
crafttweaker.api.item.IIngredient |
transform(crafttweaker.api.item.IItemTransformer transformer) |
public java.lang.String getName()
getName
in interface crafttweaker.api.oredict.IOreDictEntry
public boolean isEmpty()
isEmpty
in interface crafttweaker.api.oredict.IOreDictEntry
public crafttweaker.api.item.IItemStack getFirstItem()
getFirstItem
in interface crafttweaker.api.oredict.IOreDictEntry
public void add(crafttweaker.api.item.IItemStack... items)
add
in interface crafttweaker.api.oredict.IOreDictEntry
public void addItems(crafttweaker.api.item.IItemStack[] items)
addItems
in interface crafttweaker.api.oredict.IOreDictEntry
public void addAll(crafttweaker.api.oredict.IOreDictEntry entry)
addAll
in interface crafttweaker.api.oredict.IOreDictEntry
public void remove(crafttweaker.api.item.IItemStack... items)
remove
in interface crafttweaker.api.oredict.IOreDictEntry
public void removeItems(crafttweaker.api.item.IItemStack[] items)
removeItems
in interface crafttweaker.api.oredict.IOreDictEntry
public boolean contains(crafttweaker.api.item.IItemStack item)
contains
in interface crafttweaker.api.oredict.IOreDictEntry
public void mirror(crafttweaker.api.oredict.IOreDictEntry other)
mirror
in interface crafttweaker.api.oredict.IOreDictEntry
public java.lang.String getMark()
getMark
in interface crafttweaker.api.item.IIngredient
public int getAmount()
getAmount
in interface crafttweaker.api.item.IIngredient
public java.util.List<crafttweaker.api.item.IItemStack> getItems()
getItems
in interface crafttweaker.api.item.IIngredient
public crafttweaker.api.item.IItemStack[] getItemArray()
getItemArray
in interface crafttweaker.api.item.IIngredient
public java.util.List<crafttweaker.api.liquid.ILiquidStack> getLiquids()
getLiquids
in interface crafttweaker.api.item.IIngredient
public crafttweaker.api.item.IIngredient amount(int amount)
amount
in interface crafttweaker.api.item.IIngredient
public crafttweaker.api.item.IIngredient transform(crafttweaker.api.item.IItemTransformer transformer)
transform
in interface crafttweaker.api.item.IIngredient
public crafttweaker.api.item.IIngredient only(crafttweaker.api.item.IItemCondition condition)
only
in interface crafttweaker.api.item.IIngredient
public crafttweaker.api.item.IIngredient marked(java.lang.String mark)
marked
in interface crafttweaker.api.item.IIngredient
public crafttweaker.api.item.IIngredient or(crafttweaker.api.item.IIngredient ingredient)
or
in interface crafttweaker.api.item.IIngredient
public boolean matches(crafttweaker.api.item.IItemStack item)
matches
in interface crafttweaker.api.item.IIngredient
public boolean matchesExact(crafttweaker.api.item.IItemStack item)
matchesExact
in interface crafttweaker.api.item.IIngredient
public boolean matches(crafttweaker.api.liquid.ILiquidStack liquid)
matches
in interface crafttweaker.api.item.IIngredient
public boolean contains(crafttweaker.api.item.IIngredient ingredient)
contains
in interface crafttweaker.api.item.IIngredient
public crafttweaker.api.item.IItemStack applyTransform(crafttweaker.api.item.IItemStack item, crafttweaker.api.player.IPlayer byPlayer)
applyTransform
in interface crafttweaker.api.item.IIngredient
public boolean hasTransformers()
hasTransformers
in interface crafttweaker.api.item.IIngredient
public java.lang.Object getInternal()
getInternal
in interface crafttweaker.api.item.IIngredient
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public static java.util.List<net.minecraft.util.NonNullList<net.minecraft.item.ItemStack>> getOredictContents()
public static java.util.List<net.minecraft.util.NonNullList<net.minecraft.item.ItemStack>> getOredictContentsUn()
public java.lang.String getId()