程序包 cn.nukkit.item
类 ItemBookWritable
java.lang.Object
cn.nukkit.item.Item
cn.nukkit.item.ItemBookWritable
- 直接已知子类:
ItemBookAndQuill
,ItemBookWritten
-
嵌套类概要
从类继承的嵌套类/接口 cn.nukkit.item.Item
Item.ItemJsonComponents, Item.ItemLockMode
-
字段概要
从类继承的字段 cn.nukkit.item.Item
block, count, durability, EMPTY_ARRAY, hasMeta, id, list, meta, name, UNKNOWN_STR
从接口继承的字段 cn.nukkit.block.BlockID
ACACIA_BUTTON, ACACIA_DOOR_BLOCK, ACACIA_PRESSURE_PLATE, ACACIA_STANDING_SIGN, ACACIA_TRAPDOOR, ACACIA_WALL_SIGN, ACACIA_WOOD_STAIRS, ACACIA_WOODEN_STAIRS, ACTIVATOR_RAIL, AIR, ALLOW, AMETHYST_BLOCK, AMETHYST_CLUSTER, ANCIENT_DERBRIS, ANDESITE_STAIRS, ANVIL, AZALEA, AZALEA_LEAVES, AZALEA_LEAVES_FLOWERED, BAMBOO, BAMBOO_SAPLING, BARREL, BARRIER, BASALT, BEACON, BED_BLOCK, BEDROCK, BEE_NEST, BEEHIVE, BEETROOT_BLOCK, BELL, BIG_DRIPLEAF, BIRCH_BUTTON, BIRCH_DOOR_BLOCK, BIRCH_PRESSURE_PLATE, BIRCH_STAIRS, BIRCH_STANDING_SIGN, BIRCH_TRAPDOOR, BIRCH_WALL_SIGN, BIRCH_WOOD_STAIRS, BIRCH_WOODEN_STAIRS, BLACK_CANDLE, BLACK_CANDLE_CAKE, BLACK_GLAZED_TERRACOTTA, BLACKSTONE, BLACKSTONE_DOUBLE_SLAB, BLACKSTONE_SLAB, BLACKSTONE_STAIRS, BLACKSTONE_WALL, BLAST_FURNACE, BLOCK_KELP, BLOCK_NETHER_WART_BLOCK, BLUE_CANDLE, BLUE_CANDLE_CAKE, BLUE_GLAZED_TERRACOTTA, BLUE_ICE, BONE_BLOCK, BOOKSHELF, BORDER_BLOCK, BREWING_BLOCK, BREWING_STAND_BLOCK, BRICK_STAIRS, BRICKS, BRICKS_BLOCK, BROWN_CANDLE, BROWN_CANDLE_CAKE, BROWN_GLAZED_TERRACOTTA, BROWN_MUSHROOM, BROWN_MUSHROOM_BLOCK, BUBBLE_COLUMN, BUDDING_AMETHYST, BURNING_FURNACE, BUSH, CACTUS, CAKE_BLOCK, CALCITE, CAMPFIRE_BLOCK, CANDLE, CANDLE_CAKE, CARPET, CARROT_BLOCK, CARTOGRAPHY_TABLE, CARVED_PUMPKIN, CAULDRON_BLOCK, CAVE_VINES, CAVE_VINES_BODY_WITH_BERRIES, CAVE_VINES_HEAD_WITH_BERRIES, CHAIN_BLOCK, CHAIN_COMMAND_BLOCK, CHEST, CHISELED_DEEPSLATE, CHISELED_NETHER_BRICKS, CHISELED_POLISHED_BLACKSTONE, CHORUS_FLOWER, CHORUS_PLANT, CLAY_BLOCK, COAL_BLOCK, COAL_ORE, COBBLE, COBBLE_STAIRS, COBBLE_WALL, COBBLED_DEEPSLATE, COBBLED_DEEPSLATE_DOUBLE_SLAB, COBBLED_DEEPSLATE_SLAB, COBBLED_DEEPSLATE_STAIRS, COBBLED_DEEPSLATE_WALL, COBBLESTONE, COBBLESTONE_STAIRS, COBBLESTONE_WALL, COBWEB, COCOA, COCOA_BLOCK, COMMAND_BLOCK, COMPOSTER, CONCRETE, CONCRETE_POWDER, CONCRETEPOWDER, CONDUIT, COPPER_BLOCK, COPPER_ORE, CORAL, CORAL_BLOCK, CORAL_FAN, CORAL_FAN_DEAD, CORAL_FAN_HANG, CORAL_FAN_HANG2, CORAL_FAN_HANG3, CRACKED_DEEPSLATE_BRICKS, CRACKED_DEEPSLATE_TILES, CRACKED_NETHER_BRICKS, CRACKED_POLISHED_BLACKSTONE_BRICKS, CRAFTING_TABLE, CRIMSON_BUTTON, CRIMSON_DOOR_BLOCK, CRIMSON_DOUBLE_SLAB, CRIMSON_FENCE, CRIMSON_FENCE_GATE, CRIMSON_FUNGUS, CRIMSON_HYPHAE, CRIMSON_NYLIUM, CRIMSON_PLANKS, CRIMSON_PRESSURE_PLATE, CRIMSON_ROOTS, CRIMSON_SLAB, CRIMSON_STAIRS, CRIMSON_STANDING_SIGN, CRIMSON_STEM, CRIMSON_TRAPDOOR, CRIMSON_WALL_SIGN, CRYING_OBSIDIAN, CUT_COPPER, CUT_COPPER_SLAB, CUT_COPPER_STAIRS, CYAN_CANDLE, CYAN_CANDLE_CAKE, CYAN_GLAZED_TERRACOTTA, DANDELION, DARK_OAK_BUTTON, DARK_OAK_DOOR_BLOCK, DARK_OAK_PRESSURE_PLATE, DARK_OAK_STANDING_SIGN, DARK_OAK_TRAPDOOR, DARK_OAK_WALL_SIGN, DARK_OAK_WOOD_STAIRS, DARK_OAK_WOODEN_STAIRS, DARK_PRISMARINE_STAIRS, DARKOAK_STANDING_SIGN, DARKOAK_WALL_SIGN, DAYLIGHT_DETECTOR, DAYLIGHT_DETECTOR_INVERTED, DEAD_BUSH, DEEPSLATE, DEEPSLATE_BRICK_DOUBLE_SLAB, DEEPSLATE_BRICK_SLAB, DEEPSLATE_BRICK_STAIRS, DEEPSLATE_BRICK_WALL, DEEPSLATE_BRICKS, DEEPSLATE_COAL_ORE, DEEPSLATE_COPPER_ORE, DEEPSLATE_DIAMOND_ORE, DEEPSLATE_EMERALD_ORE, DEEPSLATE_GOLD_ORE, DEEPSLATE_IRON_ORE, DEEPSLATE_LAPIS_ORE, DEEPSLATE_REDSTONE_ORE, DEEPSLATE_TILE_DOUBLE_SLAB, DEEPSLATE_TILE_SLAB, DEEPSLATE_TILE_STAIRS, DEEPSLATE_TILE_WALL, DEEPSLATE_TILES, DENY, DETECTOR_RAIL, DIAMOND_BLOCK, DIAMOND_ORE, DIORITE_STAIRS, DIRT, DIRT_WITH_ROOTS, DISPENSER, DOOR_BLOCK, DOUBLE_CUT_COPPER_SLAB, DOUBLE_MANGROVE_SLAB, DOUBLE_PLANT, DOUBLE_RED_SANDSTONE_SLAB, DOUBLE_SLAB, DOUBLE_SLABS, DOUBLE_STONE_BLOCK_SLAB, DOUBLE_STONE_BLOCK_SLAB2, DOUBLE_STONE_BLOCK_SLAB3, DOUBLE_STONE_BLOCK_SLAB4, DOUBLE_STONE_SLAB, DOUBLE_STONE_SLAB3, DOUBLE_STONE_SLAB4, DOUBLE_WOOD_SLAB, DOUBLE_WOOD_SLABS, DOUBLE_WOODEN_SLAB, DOUBLE_WOODEN_SLABS, DRAGON_EGG, DRIED_KELP_BLOCK, DRIPSTONE_BLOCK, DROPPER, EMERALD_BLOCK, EMERALD_ORE, ENCHANT_TABLE, ENCHANTING_TABLE, ENCHANTMENT_TABLE, END_BRICK_STAIRS, END_BRICKS, END_GATEWAY, END_PORTAL, END_PORTAL_FRAME, END_ROD, END_STONE, ENDER_CHEST, EXPOSED_COPPER, EXPOSED_CUT_COPPER, EXPOSED_CUT_COPPER_SLAB, EXPOSED_CUT_COPPER_STAIRS, EXPOSED_DOUBLE_CUT_COPPER_SLAB, FARMLAND, FENCE, FENCE_GATE, FENCE_GATE_ACACIA, FENCE_GATE_BIRCH, FENCE_GATE_DARK_OAK, FENCE_GATE_JUNGLE, FENCE_GATE_OAK, FENCE_GATE_SPRUCE, FIRE, FLETCHING_TABLE, FLOWER, FLOWER_POT_BLOCK, FLOWERING_AZALEA, FLOWING_LAVA, FLOWING_WATER, FROG_SPAWN, FURNACE, GILDED_BLACKSTONE, GLASS, GLASS_PANE, GLASS_PANEL, GLOW_FRAME, GLOW_LICHEN, GLOWING_OBSIDIAN, GLOWING_REDSTONE_ORE, GLOWSTONE, GLOWSTONE_BLOCK, GOLD_BLOCK, GOLD_ORE, GRANITE_STAIRS, GRASS, GRASS_PATH, GRAVEL, GRAY_CANDLE, GRAY_CANDLE_CAKE, GRAY_GLAZED_TERRACOTTA, GREEN_CANDLE, GREEN_CANDLE_CAKE, GREEN_GLAZED_TERRACOTTA, GRINDSTONE, HANGING_ROOTS, HARDENED_CLAY, HAY_BALE, HEAVY_WEIGHTED_PRESSURE_PLATE, HONEY_BLOCK, HONEYCOMB_BLOCK, HOPPER_BLOCK, ICE, ICE_FROSTED, INFESTED_DEEPSLATE, INFO_UPDATE, INFO_UPDATE2, INVISIBLE_BEDROCK, IRON_BAR, IRON_BARS, IRON_BLOCK, IRON_DOOR_BLOCK, IRON_ORE, IRON_TRAPDOOR, ITEM_FRAME_BLOCK, JACK_O_LANTERN, JIGSAW, JUKEBOX, JUNGLE_BUTTON, JUNGLE_DOOR_BLOCK, JUNGLE_PRESSURE_PLATE, JUNGLE_STAIRS, JUNGLE_STANDING_SIGN, JUNGLE_TRAPDOOR, JUNGLE_WALL_SIGN, JUNGLE_WOOD_STAIRS, JUNGLE_WOODEN_STAIRS, LADDER, LANTERN, LAPIS_BLOCK, LAPIS_ORE, LARGE_AMETHYST_BUD, LAVA, LAVA_CAULDRON, LEAVE, LEAVE2, LEAVES, LEAVES2, LECTERN, LEVER, LIGHT_BLOCK, LIGHT_BLUE_CANDLE, LIGHT_BLUE_CANDLE_CAKE, LIGHT_BLUE_GLAZED_TERRACOTTA, LIGHT_GRAY_CANDLE, LIGHT_GRAY_CANDLE_CAKE, LIGHT_WEIGHTED_PRESSURE_PLATE, LIGHTNING_ROD, LILY_PAD, LIME_CANDLE, LIME_CANDLE_CAKE, LIME_GLAZED_TERRACOTTA, LIT_BLAST_FURNACE, LIT_DEEPSLATE_REDSTONE_ORE, LIT_FURNACE, LIT_PUMPKIN, LIT_REDSTONE_LAMP, LIT_REDSTONE_ORE, LIT_SMOKER, LODESTONE, LOG, LOG2, LOOM, MAGENTA_CANDLE, MAGENTA_CANDLE_CAKE, MAGENTA_GLAZED_TERRACOTTA, MAGMA, MANGROVE_BUTTON, MANGROVE_DOOR, MANGROVE_FENCE, MANGROVE_FENCE_GATE, MANGROVE_LEAVES, MANGROVE_LOG, MANGROVE_PLANKS, MANGROVE_PRESSURE_PLATE, MANGROVE_PROPAGULE, MANGROVE_PROPAGULE_HANGING, MANGROVE_ROOTS, MANGROVE_SLAB, MANGROVE_STAIRS, MANGROVE_STANDING_SIGN, MANGROVE_TRAPDOOR, MANGROVE_WALL_SIGN, MANGROVE_WOOD, MEDIUM_AMETHYST_BUD, MELON_BLOCK, MELON_STEM, MOB_SPAWNER, MONSTER_EGG, MONSTER_SPAWNER, MOSS_BLOCK, MOSS_CARPET, MOSS_STONE, MOSSY_COBBLESTONE, MOSSY_COBBLESTONE_STAIRS, MOSSY_STONE, MOSSY_STONE_BRICK_STAIRS, MOVING_BLOCK, MUD, MUD_BRICK_DOUBLE_SLAB, MUD_BRICK_SLAB, MUD_BRICK_STAIRS, MUD_BRICK_WALL, MUD_BRICKS, MUDDY_MANGROVE_ROOTS, MYCELIUM, NETHER_BRICK_BLOCK, NETHER_BRICK_FENCE, NETHER_BRICKS, NETHER_BRICKS_STAIRS, NETHER_GOLD_ORE, NETHER_PORTAL, NETHER_REACTOR, NETHER_SPROUTS_BLOCK, NETHER_WART_BLOCK, NETHERITE_BLOCK, NETHERRACK, NETHERREACTOR, NORMAL_STONE_STAIRS, NOTEBLOCK, OAK_DOOR_BLOCK, OAK_STAIRS, OAK_WOOD_STAIRS, OAK_WOODEN_STAIRS, OBSERVER, OBSIDIAN, OCHRE_FROGLIGHT, ORANGE_CANDLE, ORANGE_CANDLE_CAKE, ORANGE_GLAZED_TERRACOTTA, OXIDIZED_COPPER, OXIDIZED_CUT_COPPER, OXIDIZED_CUT_COPPER_SLAB, OXIDIZED_CUT_COPPER_STAIRS, OXIDIZED_DOUBLE_CUT_COPPER_SLAB, PACKED_ICE, PACKED_MUD, PEARLESCENT_FROGLIGHT, PINK_CANDLE, PINK_CANDLE_CAKE, PINK_GLAZED_TERRACOTTA, PISTON, PISTON_ARM_COLLISION, PISTON_EXTENSION, PISTON_HEAD_STICKY, PLANK, PLANKS, PODZOL, POINTED_DRIPSTONE, POLISHED_ANDESITE_STAIRS, POLISHED_BASALT, POLISHED_BLACKSTONE, POLISHED_BLACKSTONE_BRICK_DOUBLE_SLAB, POLISHED_BLACKSTONE_BRICK_SLAB, POLISHED_BLACKSTONE_BRICK_STAIRS, POLISHED_BLACKSTONE_BRICK_WALL, POLISHED_BLACKSTONE_BRICKS, POLISHED_BLACKSTONE_BUTTON, POLISHED_BLACKSTONE_DOUBLE_SLAB, POLISHED_BLACKSTONE_PRESSURE_PLATE, POLISHED_BLACKSTONE_SLAB, POLISHED_BLACKSTONE_STAIRS, POLISHED_BLACKSTONE_WALL, POLISHED_DEEPSLATE, POLISHED_DEEPSLATE_DOUBLE_SLAB, POLISHED_DEEPSLATE_SLAB, POLISHED_DEEPSLATE_STAIRS, POLISHED_DEEPSLATE_WALL, POLISHED_DIORITE_STAIRS, POLISHED_GRANITE_STAIRS, POPPY, POTATO_BLOCK, POWDER_SNOW, POWERED_COMPARATOR, POWERED_RAIL, POWERED_REPEATER, PRISMARINE, PRISMARINE_BRICKS_STAIRS, PRISMARINE_STAIRS, PUMPKIN, PUMPKIN_STEM, PURPLE_CANDLE, PURPLE_CANDLE_CAKE, PURPLE_GLAZED_TERRACOTTA, PURPUR_BLOCK, PURPUR_STAIRS, QUARTZ_BLOCK, QUARTZ_BRICKS, QUARTZ_ORE, QUARTZ_STAIRS, RAIL, RAW_COPPER_BLOCK, RAW_GOLD_BLOCK, RAW_IRON_BLOCK, RED_CANDLE, RED_CANDLE_CAKE, RED_FLOWER, RED_GLAZED_TERRACOTTA, RED_MUSHROOM, RED_MUSHROOM_BLOCK, RED_NETHER_BRICK, RED_NETHER_BRICK_STAIRS, RED_SANDSTONE, RED_SANDSTONE_SLAB, RED_SANDSTONE_STAIRS, REDSTONE_BLOCK, REDSTONE_LAMP, REDSTONE_ORE, REDSTONE_TORCH, REDSTONE_WIRE, REEDS, REINFORCED_DEEPSLATE, REPEATING_COMMAND_BLOCK, RESPAWN_ANCHOR, ROSE, SAND, SANDSTONE, SANDSTONE_STAIRS, SAPLING, SAPLINGS, SCAFFOLDING, SCULK, SCULK_CATALYST, SCULK_SENSOR, SCULK_SHRIEKER, SCULK_VEIN, SEA_LANTERN, SEA_PICKLE, SEAGRASS, SHROOMLIGHT, SHULKER_BOX, SIGN_POST, SILVER_GLAZED_TERRACOTTA, SKULL_BLOCK, SLAB, SLABS, SLIME_BLOCK, SMALL_AMETHYST_BUD, SMALL_DRIPLEAF_BLOCK, SMITHING_TABLE, SMOKER, SMOOTH_BASALT, SMOOTH_QUARTZ_STAIRS, SMOOTH_RED_SANDSTONE_STAIRS, SMOOTH_SANDSTONE_STAIRS, SMOOTH_STONE, SNOW, SNOW_BLOCK, SNOW_LAYER, SOUL_CAMPFIRE_BLOCK, SOUL_FIRE, SOUL_LANTERN, SOUL_SAND, SOUL_SOIL, SOUL_TORCH, SPONGE, SPORE_BLOSSOM, SPRUCE_BUTTON, SPRUCE_DOOR_BLOCK, SPRUCE_PRESSURE_PLATE, SPRUCE_STAIRS, SPRUCE_STANDING_SIGN, SPRUCE_TRAPDOOR, SPRUCE_WALL_SIGN, SPRUCE_WOOD_STAIRS, SPRUCE_WOODEN_STAIRS, STAINED_GLASS, STAINED_GLASS_PANE, STAINED_HARDENED_CLAY, STAINED_TERRACOTTA, STANDING_BANNER, STICKY_PISTON, STICKY_PISTON_ARM_COLLISION, STILL_LAVA, STILL_WATER, STONE, STONE_BLOCK_SLAB, STONE_BLOCK_SLAB2, STONE_BLOCK_SLAB3, STONE_BLOCK_SLAB4, STONE_BRICK, STONE_BRICK_STAIRS, STONE_BRICKS, STONE_BUTTON, STONE_PRESSURE_PLATE, STONE_SLAB, STONE_SLAB3, STONE_SLAB4, STONE_STAIRS, STONE_WALL, STONEBRICK, STONECUTTER, STONECUTTER_BLOCK, STRIPPED_ACACIA_LOG, STRIPPED_BIRCH_LOG, STRIPPED_CRIMSON_HYPHAE, STRIPPED_CRIMSON_STEM, STRIPPED_DARK_OAK_LOG, STRIPPED_JUNGLE_LOG, STRIPPED_MANGROVE_LOG, STRIPPED_MANGROVE_WOOD, STRIPPED_OAK_LOG, STRIPPED_SPRUCE_LOG, STRIPPED_WARPED_HYPHAE, STRIPPED_WARPED_STEM, STRUCTURE_BLOCK, STRUCTURE_VOID, SUGARCANE_BLOCK, SWEET_BERRY_BUSH, TALL_GRASS, TARGET, TERRACOTTA, TINTED_GLASS, TNT, TORCH, TRAPDOOR, TRAPPED_CHEST, TRIP_WIRE, TRIPWIRE_HOOK, TRUNK, TRUNK2, TUFF, TURTLE_EGG, TWISTING_VINES, UNDYED_SHULKER_BOX, UNLIT_REDSTONE_TORCH, UNPOWERED_COMPARATOR, UNPOWERED_REPEATER, VERDANT_FROGLIGHT, VINE, VINES, WALL_BANNER, WALL_SIGN, WARPED_BUTTON, WARPED_DOOR_BLOCK, WARPED_DOUBLE_SLAB, WARPED_FENCE, WARPED_FENCE_GATE, WARPED_FUNGUS, WARPED_HYPHAE, WARPED_NYLIUM, WARPED_PLANKS, WARPED_PRESSURE_PLATE, WARPED_ROOTS, WARPED_SLAB, WARPED_STAIRS, WARPED_STANDING_SIGN, WARPED_STEM, WARPED_TRAPDOOR, WARPED_WALL_SIGN, WARPED_WART_BLOCK, WATER, WATER_LILY, WATERLILY, WAXED_COPPER, WAXED_CUT_COPPER, WAXED_CUT_COPPER_SLAB, WAXED_CUT_COPPER_STAIRS, WAXED_DOUBLE_CUT_COPPER_SLAB, WAXED_EXPOSED_COPPER, WAXED_EXPOSED_CUT_COPPER, WAXED_EXPOSED_CUT_COPPER_SLAB, WAXED_EXPOSED_CUT_COPPER_STAIRS, WAXED_EXPOSED_DOUBLE_CUT_COPPER_SLAB, WAXED_OXIDIZED_COPPER, WAXED_OXIDIZED_CUT_COPPER, WAXED_OXIDIZED_CUT_COPPER_SLAB, WAXED_OXIDIZED_CUT_COPPER_STAIRS, WAXED_OXIDIZED_DOUBLE_CUT_COPPER_SLAB, WAXED_WEATHERED_COPPER, WAXED_WEATHERED_CUT_COPPER, WAXED_WEATHERED_CUT_COPPER_SLAB, WAXED_WEATHERED_CUT_COPPER_STAIRS, WAXED_WEATHERED_DOUBLE_CUT_COPPER_SLAB, WEATHERED_COPPER, WEATHERED_CUT_COPPER, WEATHERED_CUT_COPPER_SLAB, WEATHERED_CUT_COPPER_STAIRS, WEATHERED_DOUBLE_CUT_COPPER_SLAB, WEEPING_VINES, WHEAT_BLOCK, WHITE_CANDLE, WHITE_CANDLE_CAKE, WHITE_GLAZED_TERRACOTTA, WITHER_ROSE, WOOD, WOOD_BARK, WOOD_DOOR_BLOCK, WOOD_SLAB, WOOD_SLABS, WOOD_STAIRS, WOOD2, WOODEN_BUTTON, WOODEN_DOOR_BLOCK, WOODEN_PLANK, WOODEN_PLANKS, WOODEN_PRESSURE_PLATE, WOODEN_SLAB, WOODEN_SLABS, WOODEN_STAIRS, WOOL, WORKBENCH, YELLOW_CANDLE, YELLOW_CANDLE_CAKE, YELLOW_GLAZED_TERRACOTTA
从接口继承的字段 cn.nukkit.item.ItemID
ACACIA_CHEST_BOAT, ACACIA_DOOR, ACACIA_SIGN, AMETHYST_SHARD, APPLE, ARMOR_STAND, ARROW, BAKED_POTATO, BAKED_POTATOES, BANNER, BANNER_PATTERN, BED, BEETROOT, BEETROOT_SEED, BEETROOT_SEEDS, BEETROOT_SOUP, BIRCH_CHEST_BOAT, BIRCH_DOOR, BIRCH_SIGN, BLAZE_POWDER, BLAZE_ROD, BOAT, BONE, BOOK, BOOK_AND_QUILL, BOTTLE, BOW, BOWL, BREAD, BREWING, BREWING_STAND, BRICK, BUCKET, CAKE, CAMPFIRE, CARROT, CARROT_ON_A_STICK, CARROTS, CAULDRON, CHAIN, CHAIN_BOOTS, CHAIN_CHESTPLATE, CHAIN_HELMET, CHAIN_LEGGINGS, CHEST_BOAT, CHORUS_FRUIT, CLAY, CLOCK, CLOWNFISH, COAL, COMMAND_BLOCK_MINECART, COMPARATOR, COMPASS, COOKED_BEEF, COOKED_CHICKEN, COOKED_FISH, COOKED_MUTTON, COOKED_PORKCHOP, COOKED_RABBIT, COOKED_SALMON, COOKIE, CRIMSON_DOOR, CRIMSON_SIGN, CROSSBOW, DARK_OAK_CHEST_BOAT, DARK_OAK_DOOR, DARK_OAK_SIGN, DARKOAK_SIGN, DIAMOND, DIAMOND_AXE, DIAMOND_BOOTS, DIAMOND_CHESTPLATE, DIAMOND_HELMET, DIAMOND_HOE, DIAMOND_HORSE_ARMOR, DIAMOND_LEGGINGS, DIAMOND_PICKAXE, DIAMOND_SHOVEL, DIAMOND_SWORD, DRAGON_BREATH, DRIED_KELP, DYE, EGG, ELYTRA, EMERALD, EMPTY_MAP, ENCHANT_BOOK, ENCHANTED_BOOK, END_CRYSTAL, ENDER_EYE, ENDER_PEARL, EXPERIENCE_BOTTLE, FEATHER, FERMENTED_SPIDER_EYE, FIRE_CHARGE, FIREWORKS, FIREWORKSCHARGE, FISHING_ROD, FLINT, FLINT_AND_STEEL, FLINT_STEEL, FLOWER_POT, GHAST_TEAR, GLASS_BOTTLE, GLISTERING_MELON, GLOW_BERRIES, GLOW_ITEM_FRAME, GLOWSTONE_DUST, GOLD_AXE, GOLD_BOOTS, GOLD_CHESTPLATE, GOLD_HELMET, GOLD_HOE, GOLD_HORSE_ARMOR, GOLD_INGOT, GOLD_LEGGINGS, GOLD_NUGGET, GOLD_PICKAXE, GOLD_SHOVEL, GOLD_SWORD, GOLDEN_APPLE, GOLDEN_APPLE_ENCHANTED, GOLDEN_AXE, GOLDEN_CARROT, GOLDEN_HOE, GOLDEN_NUGGET, GOLDEN_PICKAXE, GOLDEN_SHOVEL, GOLDEN_SWORD, GUNPOWDER, HEART_OF_THE_SEA, HONEY_BOTTLE, HONEYCOMB, HOPPER, IRON_AXE, IRON_BOOTS, IRON_CHESTPLATE, IRON_DOOR, IRON_HELMET, IRON_HOE, IRON_HORSE_ARMOR, IRON_INGOT, IRON_LEGGINGS, IRON_NUGGET, IRON_PICKAXE, IRON_SHOVEL, IRON_SWORD, ITEM_FRAME, ITEM_MANGROVE_DOOR, JUNGLE_CHEST_BOAT, JUNGLE_DOOR, JUNGLE_SIGN, KELP, LEAD, LEATHER, LEATHER_BOOTS, LEATHER_CAP, LEATHER_HORSE_ARMOR, LEATHER_PANTS, LEATHER_TUNIC, LINGERING_POTION, LODESTONE_COMPASS, LODESTONECOMPASS, MAGMA_CREAM, MANGROVE_CHEST_BOAT, MANGROVE_SIGN, MAP, MELON, MELON_SEEDS, MELON_SLICE, MINECART, MINECART_WITH_CHEST, MINECART_WITH_HOPPER, MINECART_WITH_TNT, MUSHROOM_STEW, NAME_TAG, NAUTILUS_SHELL, NETHER_BRICK, NETHER_QUARTZ, NETHER_SPROUTS, NETHER_STAR, NETHER_WART, NETHERITE_AXE, NETHERITE_BOOTS, NETHERITE_CHESTPLATE, NETHERITE_HELMET, NETHERITE_HOE, NETHERITE_INGOT, NETHERITE_LEGGINGS, NETHERITE_PICKAXE, NETHERITE_SCRAP, NETHERITE_SHOVEL, NETHERITE_SWORD, OAK_CHEST_BOAT, PAINTING, PAPER, PHANTOM_MEMBRANE, POISONOUS_POTATO, POPPED_CHORUS_FRUIT, POTATO, POTATOES, POTION, PRISMARINE_CRYSTALS, PRISMARINE_SHARD, PUFFERFISH, PUMPKIN_PIE, PUMPKIN_SEEDS, QUARTZ, RABBIT_FOOT, RABBIT_HIDE, RABBIT_STEW, RAW_BEEF, RAW_CHICKEN, RAW_FISH, RAW_MUTTON, RAW_PORKCHOP, RAW_RABBIT, RAW_SALMON, RECORD_11, RECORD_13, RECORD_BLOCKS, RECORD_CAT, RECORD_CHIRP, RECORD_FAR, RECORD_MALL, RECORD_MELLOHI, RECORD_OTHERSIDE, RECORD_PIGSTEP, RECORD_STAL, RECORD_STRAD, RECORD_WAIT, RECORD_WARD, REDSTONE, REDSTONE_DUST, REPEATER, ROTTEN_FLESH, SADDLE, SCUTE, SEEDS, SHEARS, SHIELD, SHULKER_SHELL, SIGN, SKULL, SLIMEBALL, SNOWBALL, SOUL_CAMPFIRE, SPAWN_EGG, SPIDER_EYE, SPLASH_POTION, SPRUCE_CHEST_BOAT, SPRUCE_DOOR, SPRUCE_SIGN, SPYGLASS, STEAK, STICK, STICKS, STONE_AXE, STONE_HOE, STONE_PICKAXE, STONE_SHOVEL, STONE_SWORD, STRING, STRING_IDENTIFIED_ITEM, SUGAR, SUGAR_CANE, SUGAR_CANES, SUGARCANE, SUSPICIOUS_STEW, SWEET_BERRIES, TOTEM, TRIDENT, TURTLE_SHELL, WARPED_DOOR, WARPED_FUNGUS_ON_A_STICK, WARPED_SIGN, WHEAT, WHEAT_SEEDS, WOODEN_AXE, WOODEN_DOOR, WOODEN_HOE, WOODEN_PICKAXE, WOODEN_SHOVEL, WOODEN_SWORD, WRITTEN_BOOK
-
构造器概要
限定符构造器说明protected
ItemBookWritable
(int id) protected
ItemBookWritable
(int id, Integer meta) protected
ItemBookWritable
(int id, Integer meta, int count) protected
ItemBookWritable
(int id, Integer meta, int count, String name) -
方法概要
修饰符和类型方法说明boolean
addPage
(int pageId) Adds a new page with the given page ID.protected static CompoundTag
protected static CompoundTag
createPageTag
(String pageText) boolean
deletePage
(int pageId) Deletes an existing page with the given page ID.getPages()
Returns an list containing all pages of this book.getPageText
(int pageId) Returns a string containing the content of a page (which could be empty), or null if the page doesn't exist.boolean
insertPage
(int pageId) Inserts a new page with the given text and moves other pages upwards.boolean
insertPage
(int pageId, String pageText) Inserts a new page with the given text and moves other pages upwards.boolean
pageExists
(int pageId) Returns whether the given page exists in this book.boolean
setPageText
(int pageId, String pageText) Sets the text of a page in the book.boolean
swapPages
(int pageId1, int pageId2) Switches the text of two pages with each other.从类继承的方法 cn.nukkit.item.Item
addCanDestroy, addCanDestroy, addCanPlaceOn, addCanPlaceOn, addCreativeItem, addEnchantment, applyEnchantments, canBeActivated, canBePlaced, clearCreativeItems, clearCustomBlockData, clearCustomName, clearNamedTag, clone, createFuzzyCraftingRecipe, decrement, deepEquals, deepEquals, deepEquals, deleteAllCustomItem, deleteCustomItem, equals, equals, equals, equalsExact, equalsIgnoringEnchantmentOrder, fromJson, fromJsonNetworkId, fromString, fromStringMultiple, get, get, get, get, getArmorPoints, getAttackDamage, getAttackSideEffects, getBlock, getBlock, getBlock, getBlock, getBlock, getBlockId, getBlockUnsafe, getCanDestroy, getCanPlaceOn, getCompoundTag, getCount, getCreativeItem, getCreativeItemIndex, getCreativeItems, getCustomBlockData, getCustomCompoundTag, getCustomItems, getCustomName, getDamage, getDestroySpeed, getEnchantAbility, getEnchantment, getEnchantment, getEnchantmentLevel, getEnchantments, getFuelTime, getId, getItemList, getItemLockMode, getLore, getMaxDurability, getMaxStackSize, getName, getNamedTag, getNamedTagEntry, getNamespaceId, getNetworkFullId, getNetworkId, getOrCreateNamedTag, getRepairCost, getTier, getToughness, hasCompoundTag, hasCustomBlockData, hasCustomCompoundTag, hasCustomName, hasEnchantment, hasEnchantments, hasMeta, increment, init, isArmor, isAxe, isBoots, isChestplate, isCreativeItem, isFertilizer, isHelmet, isHoe, isLavaResistant, isLeggings, isNull, isPickaxe, isShears, isShovel, isSword, isTool, isUnbreakable, keepOnDeath, onActivate, onClickAir, onRelease, onUse, parseCompoundTag, readItemJsonComponents, rebuildItemList, registerCustomItem, registerCustomItem, removeCreativeItem, setCanDestroy, setCanPlaceOn, setCompoundTag, setCompoundTag, setCount, setCustomBlockData, setCustomName, setDamage, setItemLockMode, setKeepOnDeath, setLore, setNamedTag, setRepairCost, toString, useOn, useOn, writeCompoundTag
-
构造器详细资料
-
ItemBookWritable
protected ItemBookWritable(int id) -
ItemBookWritable
-
ItemBookWritable
-
ItemBookWritable
-
-
方法详细资料
-
pageExists
public boolean pageExists(int pageId) Returns whether the given page exists in this book. -
getPageText
Returns a string containing the content of a page (which could be empty), or null if the page doesn't exist. -
setPageText
Sets the text of a page in the book. Adds the page if the page does not yet exist.- 返回:
- boolean indicating success
-
addPage
public boolean addPage(int pageId) Adds a new page with the given page ID. Creates a new page for every page between the given ID and existing pages that doesn't yet exist.- 返回:
- boolean indicating success
-
deletePage
public boolean deletePage(int pageId) Deletes an existing page with the given page ID.- 返回:
- boolean indicating success
-
insertPage
public boolean insertPage(int pageId) Inserts a new page with the given text and moves other pages upwards.- 返回:
- boolean indicating success
-
insertPage
Inserts a new page with the given text and moves other pages upwards.- 返回:
- boolean indicating success
-
swapPages
public boolean swapPages(int pageId1, int pageId2) Switches the text of two pages with each other.- 返回:
- boolean indicating success
-
getPages
Returns an list containing all pages of this book. -
createPageTag
-
createPageTag
-