| Package | Description | 
|---|---|
| org.bukkit | More generalized classes in the API. | 
| org.bukkit.block | Classes used to manipulate the voxels in a  world,
 including special states. | 
| org.bukkit.entity | Interfaces for non-voxel objects that can exist in a  world, including all players, monsters, projectiles, etc. | 
| org.bukkit.generator | Classes to facilitate  worldgeneration
 implementation. | 
| org.bukkit.inventory | Classes involved in manipulating player inventories and item interactions. | 
| org.bukkit.material | Classes that represents various voxel types and states. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| MaterialData | Material. getNewData(byte raw) | Deprecated.
 Magic value | 
| Modifier and Type | Method | Description | 
|---|---|---|
| Class<? extends MaterialData> | Material. getData() | Gets the MaterialData class associated with this Material | 
| Modifier and Type | Method | Description | 
|---|---|---|
| Material | UnsafeValues. fromLegacy(MaterialData material) | Deprecated. | 
| Material | UnsafeValues. fromLegacy(MaterialData material,
          boolean itemPriority) | Deprecated. | 
| FallingBlock | World. spawnFallingBlock(Location location,
                 MaterialData data) | 
| Modifier and Type | Method | Description | 
|---|---|---|
| MaterialData | FlowerPot. getContents() | Deprecated. Gets the item present in this flower pot. | 
| MaterialData | BlockState. getData() | Gets the metadata for this block state. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| void | FlowerPot. setContents(MaterialData item) | Deprecated. Sets the item present in this flower pot. | 
| void | BlockState. setData(MaterialData data) | Sets the metadata for this block state. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| MaterialData | Enderman. getCarriedMaterial() | Gets the id and data of the block that the Enderman is carrying. | 
| MaterialData | Minecart. getDisplayBlock() | Gets the display block for this minecart. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| void | Enderman. setCarriedMaterial(MaterialData material) | Sets the id and data of the block that the Enderman is carrying. | 
| void | Minecart. setDisplayBlock(MaterialData material) | Sets the display block for this minecart. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| MaterialData | ChunkGenerator.ChunkData. getTypeAndData(int x,
              int y,
              int z) | Get the type and data of the block at x, y, z. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| void | ChunkGenerator.ChunkData. setBlock(int x,
        int y,
        int z,
        MaterialData material) | Set the block at x,y,z in the chunk data to material. | 
| void | ChunkGenerator.ChunkData. setRegion(int xMin,
         int yMin,
         int zMin,
         int xMax,
         int yMax,
         int zMax,
         MaterialData material) | Set a region of this chunk from xMin, yMin, zMin (inclusive)
 to xMax, yMax, zMax (exclusive) to material. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| MaterialData | ItemStack. getData() | Gets the MaterialData for this stack of items | 
| Modifier and Type | Method | Description | 
|---|---|---|
| ShapelessRecipe | ShapelessRecipe. addIngredient(int count,
             MaterialData ingredient) | Adds multiples of the specified ingredient. | 
| ShapelessRecipe | ShapelessRecipe. addIngredient(MaterialData ingredient) | Adds the specified ingredient. | 
| ShapelessRecipe | ShapelessRecipe. removeIngredient(int count,
                MaterialData ingredient) | Removes multiple instances of an ingredient from the list. | 
| ShapelessRecipe | ShapelessRecipe. removeIngredient(MaterialData ingredient) | Removes an ingredient from the list. | 
| void | ItemStack. setData(MaterialData data) | Sets the MaterialData for this stack of items | 
| ShapedRecipe | ShapedRecipe. setIngredient(char key,
             MaterialData ingredient) | Sets the material that a character in the recipe shape refers to. | 
| FurnaceRecipe | FurnaceRecipe. setInput(MaterialData input) | Sets the input of this furnace recipe. | 
| Constructor | Description | 
|---|---|
| FurnaceRecipe(ItemStack result,
             MaterialData source) | Deprecated. | 
| FurnaceRecipe(ItemStack result,
             MaterialData source,
             float experience) | Deprecated. | 
| Modifier and Type | Class | Description | 
|---|---|---|
| class  | Banner | Deprecated.
 all usage of MaterialData is deprecated and subject to removal. | 
| class  | Bed | Deprecated.
 all usage of MaterialData is deprecated and subject to removal. | 
| class  | Button | Deprecated.
 all usage of MaterialData is deprecated and subject to removal. | 
| class  | Cake | Deprecated.
 all usage of MaterialData is deprecated and subject to removal. | 
| class  | Cauldron | Deprecated.
 all usage of MaterialData is deprecated and subject to removal. | 
| class  | Chest | Deprecated.
 all usage of MaterialData is deprecated and subject to removal. | 
| class  | Coal | Deprecated.
 all usage of MaterialData is deprecated and subject to removal. | 
| class  | CocoaPlant | Deprecated.
 all usage of MaterialData is deprecated and subject to removal. | 
| class  | Command | Deprecated.
 all usage of MaterialData is deprecated and subject to removal. | 
| class  | Comparator | Deprecated.
 all usage of MaterialData is deprecated and subject to removal. | 
| class  | Crops | Deprecated.
 all usage of MaterialData is deprecated and subject to removal. | 
| class  | DetectorRail | Deprecated.
 all usage of MaterialData is deprecated and subject to removal. | 
| class  | Diode | Deprecated.
 all usage of MaterialData is deprecated and subject to removal. | 
| class  | DirectionalContainer | Deprecated.
 all usage of MaterialData is deprecated and subject to removal. | 
| class  | Dispenser | Deprecated.
 all usage of MaterialData is deprecated and subject to removal. | 
| class  | Door | Deprecated.
 all usage of MaterialData is deprecated and subject to removal. | 
| class  | Dye | Deprecated.
 all usage of MaterialData is deprecated and subject to removal. | 
| class  | EnderChest | Deprecated.
 all usage of MaterialData is deprecated and subject to removal. | 
| class  | ExtendedRails | Deprecated.
 all usage of MaterialData is deprecated and subject to removal. | 
| class  | FlowerPot | Deprecated.
 Flower pots are now tile entities, use
  FlowerPot. | 
| class  | Furnace | Deprecated.
 all usage of MaterialData is deprecated and subject to removal. | 
| class  | FurnaceAndDispenser | Deprecated.
 all usage of MaterialData is deprecated and subject to removal. | 
| class  | Gate | Deprecated.
 all usage of MaterialData is deprecated and subject to removal. | 
| class  | Hopper | Deprecated.
 all usage of MaterialData is deprecated and subject to removal. | 
| class  | Ladder | Deprecated.
 all usage of MaterialData is deprecated and subject to removal. | 
| class  | Leaves | Deprecated.
 all usage of MaterialData is deprecated and subject to removal. | 
| class  | Lever | Deprecated.
 all usage of MaterialData is deprecated and subject to removal. | 
| class  | LongGrass | Deprecated.
 all usage of MaterialData is deprecated and subject to removal. | 
| class  | MonsterEggs | Deprecated.
 all usage of MaterialData is deprecated and subject to removal. | 
| class  | Mushroom | Deprecated.
 all usage of MaterialData is deprecated and subject to removal. | 
| class  | NetherWarts | Deprecated.
 all usage of MaterialData is deprecated and subject to removal. | 
| class  | Observer | Deprecated.
 all usage of MaterialData is deprecated and subject to removal. | 
| class  | PistonBaseMaterial | Deprecated.
 all usage of MaterialData is deprecated and subject to removal. | 
| class  | PistonExtensionMaterial | Deprecated.
 all usage of MaterialData is deprecated and subject to removal. | 
| class  | PoweredRail | Deprecated.
 all usage of MaterialData is deprecated and subject to removal. | 
| class  | PressurePlate | Deprecated.
 all usage of MaterialData is deprecated and subject to removal. | 
| class  | Pumpkin | Deprecated.
 all usage of MaterialData is deprecated and subject to removal. | 
| class  | Rails | Deprecated.
 all usage of MaterialData is deprecated and subject to removal. | 
| class  | RedstoneTorch | Deprecated.
 all usage of MaterialData is deprecated and subject to removal. | 
| class  | RedstoneWire | Deprecated.
 all usage of MaterialData is deprecated and subject to removal. | 
| class  | Sandstone | Deprecated.
 all usage of MaterialData is deprecated and subject to removal. | 
| class  | Sapling | Deprecated.
 all usage of MaterialData is deprecated and subject to removal. | 
| class  | Sign | Deprecated.
 all usage of MaterialData is deprecated and subject to removal. | 
| class  | SimpleAttachableMaterialData | Deprecated.
 all usage of MaterialData is deprecated and subject to removal. | 
| class  | Skull | Deprecated.
 all usage of MaterialData is deprecated and subject to removal. | 
| class  | SmoothBrick | Deprecated.
 all usage of MaterialData is deprecated and subject to removal. | 
| class  | SpawnEgg | Deprecated.
 use  SpawnEggMeta | 
| class  | Stairs | Deprecated.
 all usage of MaterialData is deprecated and subject to removal. | 
| class  | Step | Deprecated.
 all usage of MaterialData is deprecated and subject to removal. | 
| class  | TexturedMaterial | Deprecated.
 all usage of MaterialData is deprecated and subject to removal. | 
| class  | Torch | Deprecated.
 all usage of MaterialData is deprecated and subject to removal. | 
| class  | TrapDoor | Deprecated.
 all usage of MaterialData is deprecated and subject to removal. | 
| class  | Tree | Deprecated.
 all usage of MaterialData is deprecated and subject to removal. | 
| class  | Tripwire | Deprecated.
 all usage of MaterialData is deprecated and subject to removal. | 
| class  | TripwireHook | Deprecated.
 all usage of MaterialData is deprecated and subject to removal. | 
| class  | Vine | Deprecated.
 all usage of MaterialData is deprecated and subject to removal. | 
| class  | Wood | Deprecated.
 all usage of MaterialData is deprecated and subject to removal. | 
| class  | WoodenStep | Deprecated.
 all usage of MaterialData is deprecated and subject to removal. | 
| class  | Wool | Deprecated.
 all usage of MaterialData is deprecated and subject to removal. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| MaterialData | MaterialData. clone() | Deprecated. | 
| MaterialData | FlowerPot. getContents() | Deprecated. Get the material in the flower pot | 
| Modifier and Type | Method | Description | 
|---|---|---|
| void | FlowerPot. setContents(MaterialData materialData) | Deprecated. Set the contents of the flower pot | 
Copyright © 2020. All rights reserved.