public class ItemLilyPad extends ItemColored
Item.ToolMaterialbFull3D, hasSubtypes, itemModifierUUID, itemRand, itemRegistry, maxStackSize| Constructor and Description |
|---|
ItemLilyPad(Block block) |
| Modifier and Type | Method and Description |
|---|---|
int |
getColorFromItemStack(ItemStack stack,
int renderPass) |
ItemStack |
onItemRightClick(ItemStack itemStackIn,
World worldIn,
EntityPlayer playerIn)
Called whenever this item is equipped and the right mouse button is pressed.
|
getMetadata, getUnlocalizedName, setSubtypeNamescanPlaceBlockOnSide, getBlock, getCreativeTab, getSubItems, getUnlocalizedName, onItemUse, setTileEntityNBT, setUnlocalizedNameaddInformation, canHarvestBlock, canItemEditBlocks, getByNameOrId, getContainerItem, getHasSubtypes, getIdFromItem, getIsRepairable, getItemAttributeModifiers, getItemById, getItemEnchantability, getItemFromBlock, getItemStackDisplayName, getItemStackLimit, getItemUseAction, getMaxDamage, getMaxItemUseDuration, getMovingObjectPositionFromPlayer, getPotionEffect, getRarity, getShareTag, getStrVsBlock, getUnlocalizedNameInefficiently, hasContainerItem, hasEffect, hitEntity, isDamageable, isFull3D, isItemTool, isMap, isPotionIngredient, itemInteractionForEntity, onBlockDestroyed, onCreated, onItemUseFinish, onPlayerStoppedUsing, onUpdate, registerItemBlock, registerItems, setContainerItem, setCreativeTab, setFull3D, setHasSubtypes, setMaxDamage, setMaxStackSize, setPotionEffect, shouldRotateAroundWhenRendering, updateItemStackNBTpublic ItemLilyPad(Block block)
public ItemStack onItemRightClick(ItemStack itemStackIn, World worldIn, EntityPlayer playerIn)
onItemRightClick in class Itempublic int getColorFromItemStack(ItemStack stack, int renderPass)
getColorFromItemStack in class ItemColored