public final class ItemBookCode
extends net.minecraft.item.ItemBook
| Modifier and Type | Class and Description |
|---|---|
static class |
ItemBookCode.Data
Wrapper for list of pages stored in the code book.
|
| Constructor and Description |
|---|
ItemBookCode(net.minecraft.item.Item.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
void |
addInformation(net.minecraft.item.ItemStack stack,
net.minecraft.world.World world,
java.util.List<net.minecraft.util.text.ITextComponent> tooltip,
net.minecraft.client.util.ITooltipFlag flag) |
int |
getItemEnchantability() |
boolean |
isEnchantable(net.minecraft.item.ItemStack stack) |
net.minecraft.util.ActionResult<net.minecraft.item.ItemStack> |
onItemRightClick(net.minecraft.world.World world,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.util.EnumHand hand) |
addPropertyOverride, canHarvestBlock, canPlayerBreakBlockWhileHolding, func_195939_a, getContainerItem, getCreativeTab, getDefaultInstance, getDestroySpeed, getDisplayName, getIdFromItem, getIsRepairable, getItem, getItemAttributeModifiers, getItemById, getItemFromBlock, getItemStackLimit, getItemUseAction, getMaxDamage, getMaxItemUseDuration, getName, getPropertyGetter, getRarity, getShareTag, getSubItems, getTranslationKey, getTranslationKey, hasContainerItem, hasCustomProperties, hasEffect, hitEntity, isDamageable, isInCreativeTab, isMap, isTagged, itemInteractionForEntity, makeUnlocalizedName, onBlockDestroyed, onCreated, onItemUseFinish, onPlayerStoppedUsing, onUpdate, rayTrace, registerItem, registerItem, registerItemBlock, registerItemBlock, registerItemBlock, registerItemBlock, registerItems, updateItemStackNBTpublic void addInformation(net.minecraft.item.ItemStack stack,
@Nullable
net.minecraft.world.World world,
java.util.List<net.minecraft.util.text.ITextComponent> tooltip,
net.minecraft.client.util.ITooltipFlag flag)
addInformation in class net.minecraft.item.Itempublic net.minecraft.util.ActionResult<net.minecraft.item.ItemStack> onItemRightClick(net.minecraft.world.World world,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.util.EnumHand hand)
onItemRightClick in class net.minecraft.item.Itempublic boolean isEnchantable(net.minecraft.item.ItemStack stack)
isEnchantable in class net.minecraft.item.ItemBookpublic int getItemEnchantability()
getItemEnchantability in class net.minecraft.item.ItemBook