Skip to content

Latest commit

 

History

History
211 lines (211 loc) · 21.5 KB

cn.nukkit.item.ItemDye.md

File metadata and controls

211 lines (211 loc) · 21.5 KB
  • 成员变量一览

    成员变量 
    修饰符和类 成员变量描述
    static int BLACK
    此函数已弃用 
    static int BLUE
    此函数已弃用 
    static int BROWN
    此函数已弃用 
    static int CYAN
    此函数已弃用 
    static int GRAY
    此函数已弃用 
    static int GREEN
    此函数已弃用 
    static int LIGHT_BLUE
    此函数已弃用 
    static int LIGHT_GRAY
    此函数已弃用 
    static int LIME
    此函数已弃用 
    static int MAGENTA
    此函数已弃用 
    static int ORANGE
    此函数已弃用 
    static int PINK
    此函数已弃用 
    static int PURPLE
    此函数已弃用 
    static int RED
    此函数已弃用 
    static int WHITE
    此函数已弃用 
    static int YELLOW
    此函数已弃用 
    • 继承自类 cn.nukkit.item.Item

      block, count, durability, hasMeta, id, list, meta, name, UNKNOWN_STR
    • 继承自接口 cn.nukkit.block.BlockID

      ACACIA_DOOR_BLOCK, ACACIA_WOOD_STAIRS, ACACIA_WOODEN_STAIRS, ACTIVATOR_RAIL, AIR, ANVIL, BEACON, BED_BLOCK, BEDROCK, BEETROOT_BLOCK, BIRCH_DOOR_BLOCK, BIRCH_WOOD_STAIRS, BIRCH_WOODEN_STAIRS, BLACK_GLAZED_TERRACOTTA, BLOCK_NETHER_WART_BLOCK, BLUE_GLAZED_TERRACOTTA, BONE_BLOCK, BOOKSHELF, BREWING_BLOCK, BREWING_STAND_BLOCK, BRICK_STAIRS, BRICKS, BRICKS_BLOCK, BROWN_GLAZED_TERRACOTTA, BROWN_MUSHROOM, BROWN_MUSHROOM_BLOCK, BURNING_FURNACE, BUSH, CACTUS, CAKE_BLOCK, CARPET, CARROT_BLOCK, CAULDRON_BLOCK, CHEST, CHORUS_FLOWER, CHORUS_PLANT, CLAY_BLOCK, COAL_BLOCK, COAL_ORE, COBBLE, COBBLE_STAIRS, COBBLE_WALL, COBBLESTONE, COBBLESTONE_STAIRS, COBBLESTONE_WALL, COBWEB, COCOA, COCOA_BLOCK, CONCRETE, CONCRETE_POWDER, CRAFTING_TABLE, CYAN_GLAZED_TERRACOTTA, DANDELION, DARK_OAK_DOOR_BLOCK, DARK_OAK_WOOD_STAIRS, DARK_OAK_WOODEN_STAIRS, DAYLIGHT_DETECTOR, DAYLIGHT_DETECTOR_INVERTED, DEAD_BUSH, DETECTOR_RAIL, DIAMOND_BLOCK, DIAMOND_ORE, DIRT, DISPENSER, DOOR_BLOCK, DOUBLE_PLANT, DOUBLE_RED_SANDSTONE_SLAB, DOUBLE_SLAB, DOUBLE_SLABS, DOUBLE_STONE_SLAB, DOUBLE_WOOD_SLAB, DOUBLE_WOOD_SLABS, DOUBLE_WOODEN_SLAB, DOUBLE_WOODEN_SLABS, DRAGON_EGG, DROPPER, EMERALD_BLOCK, EMERALD_ORE, ENCHANT_TABLE, ENCHANTING_TABLE, ENCHANTMENT_TABLE, END_BRICKS, END_GATEWAY, END_PORTAL, END_PORTAL_FRAME, END_ROD, END_STONE, ENDER_CHEST, FARMLAND, FENCE, FENCE_GATE, FENCE_GATE_ACACIA, FENCE_GATE_BIRCH, FENCE_GATE_DARK_OAK, FENCE_GATE_JUNGLE, FENCE_GATE_OAK, FENCE_GATE_SPRUCE, FIRE, FLOWER, FLOWER_POT_BLOCK, FURNACE, GLASS, GLASS_PANE, GLASS_PANEL, GLOWING_OBSIDIAN, GLOWING_REDSTONE_ORE, GLOWSTONE, GLOWSTONE_BLOCK, GOLD_BLOCK, GOLD_ORE, GRASS, GRASS_PATH, GRAVEL, GRAY_GLAZED_TERRACOTTA, GREEN_GLAZED_TERRACOTTA, HAY_BALE, HEAVY_WEIGHTED_PRESSURE_PLATE, HOPPER_BLOCK, ICE, ICE_FROSTED, INVISIBLE_BEDROCK, IRON_BAR, IRON_BARS, IRON_BLOCK, IRON_DOOR_BLOCK, IRON_ORE, IRON_TRAPDOOR, ITEM_FRAME_BLOCK, JACK_O_LANTERN, JUKEBOX, JUNGLE_DOOR_BLOCK, JUNGLE_WOOD_STAIRS, JUNGLE_WOODEN_STAIRS, LADDER, LAPIS_BLOCK, LAPIS_ORE, LAVA, LEAVE, LEAVE2, LEAVES, LEAVES2, LEVER, LIGHT_BLUE_GLAZED_TERRACOTTA, LIGHT_WEIGHTED_PRESSURE_PLATE, LILY_PAD, LIME_GLAZED_TERRACOTTA, LIT_FURNACE, LIT_PUMPKIN, LIT_REDSTONE_LAMP, LIT_REDSTONE_ORE, LOG, LOG2, MAGENTA_GLAZED_TERRACOTTA, MAGMA, MELON_BLOCK, MELON_STEM, MONSTER_EGG, MONSTER_SPAWNER, MOSS_STONE, MOSSY_STONE, MYCELIUM, NETHER_BRICK_BLOCK, NETHER_BRICK_FENCE, NETHER_BRICKS, NETHER_BRICKS_STAIRS, NETHER_PORTAL, NETHER_REACTOR, NETHER_WART_BLOCK, NETHERRACK, NOTEBLOCK, OAK_WOOD_STAIRS, OAK_WOODEN_STAIRS, OBSERVER, OBSIDIAN, ORANGE_GLAZED_TERRACOTTA, PACKED_ICE, PINK_GLAZED_TERRACOTTA, PISTON, PISTON_EXTENSION, PISTON_HEAD, PLANK, PLANKS, PODZOL, POPPY, POTATO_BLOCK, POWERED_COMPARATOR, POWERED_RAIL, POWERED_REPEATER, PRISMARINE, PUMPKIN, PUMPKIN_STEM, PURPLE_GLAZED_TERRACOTTA, PURPUR_BLOCK, PURPUR_STAIRS, QUARTZ_BLOCK, QUARTZ_ORE, QUARTZ_STAIRS, RAIL, RED_FLOWER, RED_GLAZED_TERRACOTTA, RED_MUSHROOM, RED_MUSHROOM_BLOCK, RED_NETHER_BRICK, RED_SANDSTONE, RED_SANDSTONE_SLAB, RED_SANDSTONE_STAIRS, REDSTONE_BLOCK, REDSTONE_LAMP, REDSTONE_ORE, REDSTONE_TORCH, REDSTONE_WIRE, REEDS, ROSE, SAND, SANDSTONE, SANDSTONE_STAIRS, SAPLING, SAPLINGS, SEA_LANTERN, SHULKER_BOX, SIGN_POST, SILVER_GLAZED_TERRACOTTA, SKULL_BLOCK, SLAB, SLABS, SLIME_BLOCK, SNOW, SNOW_BLOCK, SNOW_LAYER, SOUL_SAND, SPONGE, SPRUCE_DOOR_BLOCK, SPRUCE_WOOD_STAIRS, SPRUCE_WOODEN_STAIRS, STAINED_GLASS, STAINED_GLASS_PANE, STAINED_HARDENED_CLAY, STAINED_TERRACOTTA, STANDING_BANNER, STICKY_PISTON, STILL_LAVA, STILL_WATER, STONE, STONE_BRICK, STONE_BRICK_STAIRS, STONE_BRICKS, STONE_BUTTON, STONE_PRESSURE_PLATE, STONE_SLAB, STONE_WALL, STONECUTTER, SUGARCANE_BLOCK, TALL_GRASS, TERRACOTTA, TNT, TORCH, TRAPDOOR, TRAPPED_CHEST, TRIPWIRE, TRIPWIRE_HOOK, TRUNK, TRUNK2, UNDYED_SHULKER_BOX, UNLIT_REDSTONE_TORCH, UNPOWERED_COMPARATOR, UNPOWERED_REPEATER, VINE, VINES, WALL_BANNER, WALL_SIGN, WATER, WATER_LILY, WHEAT_BLOCK, WHITE_GLAZED_TERRACOTTA, WOOD, 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_GLAZED_TERRACOTTA
    • 继承自接口 cn.nukkit.item.ItemID

      ACACIA_DOOR, APPLE, ARMOR_STAND, ARROW, BAKED_POTATO, BAKED_POTATOES, BANNER, BED, BEETROOT, BEETROOT_SEED, BEETROOT_SEEDS, BEETROOT_SOUP, BIRCH_DOOR, BLAZE_POWDER, BLAZE_ROD, BOAT, BONE, BOOK, BOOK_AND_QUILL, BOTTLE, BOW, BOWL, BREAD, BREWING, BREWING_STAND, BRICK, BUCKET, CAKE, CARROT, CARROT_ON_A_STICK, CARROTS, CAULDRON, CHAIN_BOOTS, CHAIN_CHESTPLATE, CHAIN_HELMET, CHAIN_LEGGINGS, 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, DARK_OAK_DOOR, 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, 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, JUNGLE_DOOR, KELP, LEAD, LEATHER, LEATHER_BOOTS, LEATHER_CAP, LEATHER_HORSE_ARMOR, LEATHER_PANTS, LEATHER_TUNIC, LINGERING_POTION, LODESTONECOMPASS, MAGMA_CREAM, 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_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, 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_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, SPAWN_EGG, SPIDER_EYE, SPLASH_POTION, SPRUCE_DOOR, STEAK, STICK, STICKS, STONE_AXE, STONE_HOE, STONE_PICKAXE, STONE_SHOVEL, STONE_SWORD, STRING, SUGAR, SUGAR_CANE, SUGAR_CANES, SUGARCANE, SWEET_BERRIES, TOTEM, TRIDENT, TURTLE_SHELL, WARPED_FUNGUS_ON_A_STICK, WHEAT, WHEAT_SEEDS, WOODEN_AXE, WOODEN_DOOR, WOODEN_HOE, WOODEN_PICKAXE, WOODEN_SHOVEL, WOODEN_SWORD, WRITTEN_BOOK
  • 构造函数一览

    构造函数 
    构造函数描述
    ItemDye() 
    ItemDye(DyeColor dyeColor) 
    ItemDye(DyeColor dyeColor, int amount) 
    ItemDye(Integer meta) 
    ItemDye(Integer meta, int amount) 
  • 成员函数一览

    修饰符和类 成员函数描述
    static BlockColor getColor(int meta)
    此函数已弃用 
    static String getColorName(int meta)
    此函数已弃用 
    DyeColor getDyeColor() 
    • 继承自类 cn.nukkit.item.Item

      addCreativeItem, addEnchantment, canBeActivated, canBePlaced, clearCreativeItems, clearCustomBlockData, clearCustomName, clearNamedTag, clone, deepEquals, deepEquals, deepEquals, equals, equals, equals, equalsExact, fromJson, fromString, fromStringMultiple, get, get, get, get, getArmorPoints, getAttackDamage, getBlock, getCompoundTag, getCount, getCreativeItem, getCreativeItemIndex, getCreativeItems, getCustomBlockData, getCustomName, getDamage, getDestroySpeed, getEnchantAbility, getEnchantment, getEnchantment, getEnchantments, getFuelTime, getId, getLore, getMaxDurability, getMaxStackSize, getName, getNamedTag, getNamedTagEntry, getTier, getToughness, hasCompoundTag, hasCustomBlockData, hasCustomName, hasEnchantment, hasEnchantments, hasMeta, init, isArmor, isAxe, isBoots, isChestplate, isCreativeItem, isHelmet, isHoe, isLeggings, isNull, isPickaxe, isShears, isShovel, isSword, isTool, isUnbreakable, onActivate, onClickAir, onRelease, onUse, parseCompoundTag, removeCreativeItem, setCompoundTag, setCompoundTag, setCount, setCustomBlockData, setCustomName, setDamage, setLore, setNamedTag, toString, useOn, useOn, writeCompoundTag
    • 继承自类 java.lang.Object

      finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait