Package net.minecraft.item
Class BookItem
java.lang.Object
net.minecraft.item.Item
net.minecraft.item.BookItem
- All Implemented Interfaces:
ItemConvertible
public class BookItem extends Item
-
Nested Class Summary
-
Field Summary
Fields inherited from class net.minecraft.item.Item
ATTACK_DAMAGE_MODIFIER_ID, ATTACK_SPEED_MODIFIER_ID, BLOCK_ITEMS, group, RANDOM -
Constructor Summary
Constructors Constructor Description BookItem(Item.Settings settings) -
Method Summary
Modifier and Type Method Description intgetEnchantability()booleanisEnchantable(ItemStack stack)Methods inherited from class net.minecraft.item.Item
appendStacks, appendTooltip, asItem, byRawId, canMine, canRepair, damage, finishUsing, fromBlock, getAttributeModifiers, getDrinkSound, getEatSound, getFoodComponent, getGroup, getMaxCount, getMaxDamage, getMaxUseTime, getMiningSpeedMultiplier, getName, getName, getOrCreateTranslationKey, getRarity, getRawId, getRecipeRemainder, getStackForRender, getTranslationKey, getTranslationKey, getUseAction, hasEnchantmentGlint, hasRecipeRemainder, inventoryTick, isDamageable, isEffectiveOn, isFireproof, isFood, isIn, isIn, isNetworkSynced, isUsedOnRelease, onCraft, onStoppedUsing, postHit, postMine, postProcessTag, rayTrace, shouldSyncTagToClient, toString, usageTick, use, useOnBlock, useOnEntity
-
Constructor Details
-
Method Details
-
isEnchantable
- Overrides:
isEnchantablein classItem
-
getEnchantability
public int getEnchantability()- Overrides:
getEnchantabilityin classItem
-