public class EasterEgg extends SimpleSlimefunItem<ItemUseHandler>
SlimefunItem
represents an EasterEgg
.
The EasterEgg
can be activated upon Right-Click and will
spawn a random ItemStack
from the ItemStack
Array specified in the constructor.Constructor and Description |
---|
EasterEgg(Category category,
SlimefunItemStack item,
RecipeType recipeType,
ItemStack[] recipe,
ItemStack recipeOutput,
ItemStack... gifts) |
Modifier and Type | Method and Description |
---|---|
ItemUseHandler |
getItemHandler()
This returns the
ItemHandler that will be added to this SlimefunItem . |
preRegister
addItemHandler, addOficialWikipage, bindToResearch, callItemHandler, error, getAddon, getBlockTicker, getByID, getByItem, getCategory, getDrops, getDrops, getEnergyTicker, getHandlers, getID, getItem, getItem, getItemName, getPublicItemHandlers, getRecipe, getRecipeOutput, getRecipeType, getResearch, getState, getWikipage, hasWikipage, info, isAddonItem, isDisabled, isDisenchantable, isEnchantable, isHidden, isItem, isTicking, isUseableInWorkbench, load, postRegister, register, registerBlockHandler, setCategory, setRecipe, setRecipeOutput, setRecipeType, setUseableInWorkbench, toString, warn
public EasterEgg(Category category, SlimefunItemStack item, RecipeType recipeType, ItemStack[] recipe, ItemStack recipeOutput, ItemStack... gifts)
public ItemUseHandler getItemHandler()
SimpleSlimefunItem
ItemHandler
that will be added to this SlimefunItem
.getItemHandler
in class SimpleSlimefunItem<ItemUseHandler>
ItemHandler
that should be added to this SlimefunItem