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() |
preRegister
addItemHandler, addOficialWikipage, bindToResearch, callItemHandler, error, getAddon, getBlockTicker, getByID, getByItem, getCategory, getDrops, getDrops, getEnergyTicker, getHandlers, getHandlers, getID, getItem, getItem, getItemName, getNoPermissionTooltip, getPermission, getRecipe, getRecipeOutput, getRecipeType, getResearch, getState, getWikipage, hasWikipage, info, install, isAddonItem, isDisabled, isDisenchantable, isEnchantable, isHidden, isItem, isTicking, isTicking, isUseableInWorkbench, load, postRegister, register, register, register, register, register, register, register, registerBlockHandler, registerCapacitor, registerChargeableBlock, registerChargeableBlock, registerChargeableBlock, registerEnergyGenerator, setCategory, setRecipe, setRecipeOutput, setRecipeType, setUseableInWorkbench, toString, warn
public EasterEgg(Category category, SlimefunItemStack item, RecipeType recipeType, ItemStack[] recipe, ItemStack recipeOutput, ItemStack... gifts)
public ItemUseHandler getItemHandler()
getItemHandler
in class SimpleSlimefunItem<ItemUseHandler>