public final class ItemBookCode
extends net.minecraft.item.ItemBook
| Modifier and Type | Class and Description |
|---|---|
static class |
ItemBookCode.Data
Wrapper for list of programs stored in the code book.
|
| Constructor and Description |
|---|
ItemBookCode() |
| Modifier and Type | Method and Description |
|---|---|
void |
addInformation(net.minecraft.item.ItemStack stack,
net.minecraft.entity.player.EntityPlayer playerIn,
java.util.List<java.lang.String> tooltip,
boolean advanced) |
boolean |
doesSneakBypassUse(net.minecraft.item.ItemStack stack,
net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.player.EntityPlayer player) |
net.minecraft.client.gui.FontRenderer |
getFontRenderer(net.minecraft.item.ItemStack stack) |
int |
getItemEnchantability() |
boolean |
isItemTool(net.minecraft.item.ItemStack stack) |
net.minecraft.util.ActionResult<net.minecraft.item.ItemStack> |
onItemRightClick(net.minecraft.item.ItemStack stack,
net.minecraft.world.World world,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.util.EnumHand hand) |
addPropertyOverride, canHarvestBlock, canHarvestBlock, canItemEditBlocks, createEntity, getAnimationParameters, getArmorModel, getArmorTexture, getAttributeModifiers, getByNameOrId, getContainerItem, getContainerItem, getCreativeTab, getCreativeTabs, getDamage, getDurabilityForDisplay, getEntityLifespan, getHarvestLevel, getHasSubtypes, getHighlightTip, getIdFromItem, getIsRepairable, getItemAttributeModifiers, getItemById, getItemEnchantability, getItemFromBlock, getItemStackDisplayName, getItemStackLimit, getItemStackLimit, getItemUseAction, getMaxDamage, getMaxDamage, getMaxItemUseDuration, getMetadata, getMetadata, getPropertyGetter, getRarity, getShareTag, getSmeltingExperience, getStrVsBlock, getSubItems, getToolClasses, getUnlocalizedName, getUnlocalizedName, getUnlocalizedNameInefficiently, hasContainerItem, hasContainerItem, hasCustomEntity, hasCustomProperties, hasEffect, hitEntity, initCapabilities, isBeaconPayment, isBookEnchantable, isDamageable, isDamaged, isFull3D, isMap, isRepairable, isValidArmor, itemInteractionForEntity, onArmorTick, onBlockDestroyed, onBlockStartBreak, onCreated, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onItemUse, onItemUseFinish, onItemUseFirst, onLeftClickEntity, onPlayerStoppedUsing, onUpdate, onUsingTick, rayTrace, registerItemBlock, registerItems, renderHelmetOverlay, setContainerItem, setCreativeTab, setDamage, setFull3D, setHarvestLevel, setHasSubtypes, setMaxDamage, setMaxStackSize, setNoRepair, setUnlocalizedName, shouldCauseReequipAnimation, shouldRotateAroundWhenRendering, showDurabilityBar, updateItemStackNBTpublic net.minecraft.client.gui.FontRenderer getFontRenderer(net.minecraft.item.ItemStack stack)
getFontRenderer in class net.minecraft.item.Itempublic void addInformation(net.minecraft.item.ItemStack stack,
net.minecraft.entity.player.EntityPlayer playerIn,
java.util.List<java.lang.String> tooltip,
boolean advanced)
addInformation in class net.minecraft.item.Itempublic net.minecraft.util.ActionResult<net.minecraft.item.ItemStack> onItemRightClick(net.minecraft.item.ItemStack stack,
net.minecraft.world.World world,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.util.EnumHand hand)
onItemRightClick in class net.minecraft.item.Itempublic boolean doesSneakBypassUse(net.minecraft.item.ItemStack stack,
net.minecraft.world.IBlockAccess world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.entity.player.EntityPlayer player)
doesSneakBypassUse in class net.minecraft.item.Itempublic boolean isItemTool(net.minecraft.item.ItemStack stack)
isItemTool in class net.minecraft.item.ItemBookpublic int getItemEnchantability()
getItemEnchantability in class net.minecraft.item.ItemBook