Uses of Class
org.bukkit.material.MaterialData
-
Packages that use MaterialData Package Description org.bukkit More generalized classes in the API.org.bukkit.block Classes used to manipulate the voxels in aworld, including special states.org.bukkit.entity Interfaces for non-voxel objects that can exist in aworld, including all players, monsters, projectiles, etc.org.bukkit.generator Classes to facilitateworldgeneration implementation.org.bukkit.inventory Classes involved in manipulating player inventories and item interactions.org.bukkit.material Classes that represents various voxel types and states. -
-
Uses of MaterialData in org.bukkit
Methods in org.bukkit that return MaterialData Modifier and Type Method Description MaterialDataMaterial. getNewData(byte raw)Deprecated.Magic valueMethods in org.bukkit that return types with arguments of type MaterialData Modifier and Type Method Description Class<? extends MaterialData>Material. getData()Gets the MaterialData class associated with this MaterialMethods in org.bukkit with parameters of type MaterialData Modifier and Type Method Description MaterialUnsafeValues. fromLegacy(MaterialData material)Deprecated.MaterialUnsafeValues. fromLegacy(MaterialData material, boolean itemPriority)Deprecated.FallingBlockWorld. spawnFallingBlock(Location location, MaterialData data) -
Uses of MaterialData in org.bukkit.block
Methods in org.bukkit.block that return MaterialData Modifier and Type Method Description MaterialDataFlowerPot. getContents()Deprecated.Gets the item present in this flower pot.MaterialDataBlockState. getData()Gets the metadata for this block state.Methods in org.bukkit.block with parameters of type MaterialData Modifier and Type Method Description voidFlowerPot. setContents(MaterialData item)Deprecated.Sets the item present in this flower pot.voidBlockState. setData(MaterialData data)Sets the metadata for this block state. -
Uses of MaterialData in org.bukkit.entity
Methods in org.bukkit.entity that return MaterialData Modifier and Type Method Description MaterialDataEnderman. getCarriedMaterial()Gets the id and data of the block that the Enderman is carrying.MaterialDataMinecart. getDisplayBlock()Gets the display block for this minecart.Methods in org.bukkit.entity with parameters of type MaterialData Modifier and Type Method Description voidEnderman. setCarriedMaterial(MaterialData material)Sets the id and data of the block that the Enderman is carrying.voidMinecart. setDisplayBlock(MaterialData material)Sets the display block for this minecart. -
Uses of MaterialData in org.bukkit.generator
Methods in org.bukkit.generator that return MaterialData Modifier and Type Method Description MaterialDataChunkGenerator.ChunkData. getTypeAndData(int x, int y, int z)Get the type and data of the block at x, y ,z.Methods in org.bukkit.generator with parameters of type MaterialData Modifier and Type Method Description voidChunkGenerator.ChunkData. setBlock(int x, int y, int z, MaterialData material)Set the block at x,y,z in the chunk data to material.voidChunkGenerator.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. -
Uses of MaterialData in org.bukkit.inventory
Methods in org.bukkit.inventory that return MaterialData Modifier and Type Method Description MaterialDataItemStack. getData()Gets the MaterialData for this stack of itemsMethods in org.bukkit.inventory with parameters of type MaterialData Modifier and Type Method Description ShapelessRecipeShapelessRecipe. addIngredient(int count, MaterialData ingredient)Adds multiples of the specified ingredient.ShapelessRecipeShapelessRecipe. addIngredient(MaterialData ingredient)Adds the specified ingredient.ShapelessRecipeShapelessRecipe. removeIngredient(int count, MaterialData ingredient)Removes multiple instances of an ingredient from the list.ShapelessRecipeShapelessRecipe. removeIngredient(MaterialData ingredient)Removes an ingredient from the list.voidItemStack. setData(MaterialData data)Sets the MaterialData for this stack of itemsShapedRecipeShapedRecipe. setIngredient(char key, MaterialData ingredient)Sets the material that a character in the recipe shape refers to.FurnaceRecipeFurnaceRecipe. setInput(MaterialData input)Sets the input of this furnace recipe.Constructors in org.bukkit.inventory with parameters of type MaterialData Constructor Description FurnaceRecipe(ItemStack result, MaterialData source)Deprecated.FurnaceRecipe(ItemStack result, MaterialData source, float experience)Deprecated. -
Uses of MaterialData in org.bukkit.material
Subclasses of MaterialData in org.bukkit.material Modifier and Type Class Description classBannerclassBedRepresents a bed.classButtonRepresents a buttonclassCakeclassCauldronRepresents a cauldronclassChestRepresents a chestclassCoalRepresents the different types of coals.classCocoaPlantRepresents the cocoa plantclassCommandRepresents a command blockclassComparatorRepresents a comparator in the on or off state, in normal or subtraction mode and facing in a specific direction.classCropsRepresents the different types of crops in different states of growth.classDetectorRailRepresents a detector railclassDiodeRepresents a diode/repeater in the on or off state, with a delay and facing in a specific direction.classDirectionalContainerRepresents a furnace or a dispenser.classDispenserRepresents a dispenser.classDoorRepresents a door.classDyeRepresents dyeclassEnderChestRepresents an ender chestclassExtendedRailsThis is the superclass for theDetectorRailandPoweredRailclassesclassFlowerPotDeprecated.Flower pots are now tile entities, useFlowerPot.classFurnaceRepresents a furnace.classFurnaceAndDispenserRepresents a furnace or dispenser, two types of directional containersclassGateRepresents a fence gateclassHopperRepresents a hopper in an active or deactivated state and facing in a specific direction.classLadderRepresents Ladder dataclassLeavesRepresents the different types of leaf block that may be permanent or can decay when too far from a log.classLeverRepresents a leverclassLongGrassRepresents the different types of long grasses.classMonsterEggsRepresents the different types of monster eggsclassMushroomRepresents a huge mushroom block with certain combinations of faces set to cap, pores or stem.classNetherWartsRepresents nether wartclassObserverRepresents an observer.classPistonBaseMaterialMaterial data for the piston base blockclassPistonExtensionMaterialMaterial data for the piston extension blockclassPoweredRailRepresents a powered railclassPressurePlateRepresents a pressure plateclassPumpkinRepresents a pumpkin.classRailsRepresents minecart rails.classRedstoneTorchRepresents a redstone torchclassRedstoneWireRepresents redstone wireclassSandstoneRepresents the different types of sandstone.classSaplingRepresents the different types of Tree block that face a direction.classSignMaterialData for signsclassSimpleAttachableMaterialDataSimple utility class for attachable MaterialData subclassesclassSkullRepresents a skull.classSmoothBrickRepresents the different types of smooth bricks.classSpawnEggDeprecated.useSpawnEggMetaclassStairsRepresents stairs.classStepRepresents the different types of steps.classTexturedMaterialRepresents textured materials like steps and smooth bricksclassTorchMaterialData for torchesclassTrapDoorRepresents a trap doorclassTreeRepresents the different types of Tree block that face a direction.classTripwireRepresents the tripwireclassTripwireHookRepresents the tripwire hookclassVineRepresents a vineclassWoodRepresents wood blocks of different species.classWoodenStepRepresents the different types of wooden steps.classWoolRepresents a Wool/Cloth blockMethods in org.bukkit.material that return MaterialData Modifier and Type Method Description MaterialDataMaterialData. clone()Deprecated.MaterialDataFlowerPot. getContents()Deprecated.Get the material in the flower potMethods in org.bukkit.material with parameters of type MaterialData Modifier and Type Method Description voidFlowerPot. setContents(MaterialData materialData)Deprecated.Set the contents of the flower pot
-