public class DebugIngredientHelper extends java.lang.Object implements IIngredientHelper<DebugIngredient>
| Constructor and Description |
|---|
DebugIngredientHelper() |
| Modifier and Type | Method and Description |
|---|---|
DebugIngredient |
copyIngredient(DebugIngredient ingredient)
Makes a copy of the given ingredient.
|
net.minecraft.item.ItemStack |
getCheatItemStack(DebugIngredient ingredient)
Called when a player is in cheat mode and clicks an ingredient in the list.
|
java.lang.String |
getDisplayName(DebugIngredient ingredient)
Display name used for searching.
|
java.lang.String |
getErrorInfo(DebugIngredient ingredient)
Get information for error messages involving this ingredient.
|
DebugIngredient |
getMatch(java.lang.Iterable<DebugIngredient> ingredients,
DebugIngredient ingredientToMatch)
Find a matching ingredient from a group of them.
|
java.lang.String |
getModId(DebugIngredient ingredient)
Return the modId of the mod that created this ingredient.
|
java.lang.String |
getResourceId(DebugIngredient ingredient)
Return the resource id of the given ingredient.
|
java.lang.String |
getUniqueId(DebugIngredient ingredient)
Unique ID for use in comparing, blacklisting, and looking up ingredients.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetColors, getCreativeTabNames, getDisplayModId, getMatch, getTags, getUniqueId, getWildcardId, isIngredientOnServer, isValidIngredient, normalizeIngredient, translateFocus@Nullable public DebugIngredient getMatch(java.lang.Iterable<DebugIngredient> ingredients, DebugIngredient ingredientToMatch)
IIngredientHelpergetMatch in interface IIngredientHelper<DebugIngredient>public java.lang.String getDisplayName(DebugIngredient ingredient)
IIngredientHelpergetDisplayName in interface IIngredientHelper<DebugIngredient>public java.lang.String getUniqueId(DebugIngredient ingredient)
IIngredientHelpergetUniqueId in interface IIngredientHelper<DebugIngredient>public java.lang.String getModId(DebugIngredient ingredient)
IIngredientHelpergetModId in interface IIngredientHelper<DebugIngredient>public java.lang.String getResourceId(DebugIngredient ingredient)
IIngredientHelpergetResourceId in interface IIngredientHelper<DebugIngredient>public net.minecraft.item.ItemStack getCheatItemStack(DebugIngredient ingredient)
IIngredientHelpergetCheatItemStack in interface IIngredientHelper<DebugIngredient>ingredient - The ingredient to cheat in. Do not edit this ingredient.public DebugIngredient copyIngredient(DebugIngredient ingredient)
IIngredientHelpercopyIngredient in interface IIngredientHelper<DebugIngredient>ingredient - the ingredient to copypublic java.lang.String getErrorInfo(@Nullable
DebugIngredient ingredient)
IIngredientHelpergetErrorInfo in interface IIngredientHelper<DebugIngredient>