Package | Description |
---|---|
com.destroystokyo.paper | |
com.destroystokyo.paper.event.block | |
com.destroystokyo.paper.event.player | |
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.block.data | |
org.bukkit.enchantments |
Classes relating to the specialized enhancements to
item stacks , as part of the meta data . |
org.bukkit.entity |
Interfaces for non-voxel objects that can exist in a
world , including all players, monsters, projectiles, etc. |
org.bukkit.event.block | |
org.bukkit.event.entity | |
org.bukkit.event.inventory | |
org.bukkit.event.player | |
org.bukkit.generator |
Classes to facilitate
world generation
implementation. |
org.bukkit.inventory |
Classes involved in manipulating player inventories and item interactions.
|
org.bukkit.inventory.meta |
The interfaces used when manipulating extra data can can be stored inside
item stacks . |
org.bukkit.material |
Classes that represents various voxel types and states.
|
Modifier and Type | Method and Description |
---|---|
Set<Material> |
MaterialSetTag.getValues() |
Modifier and Type | Method and Description |
---|---|
MaterialSetTag |
MaterialSetTag.add(Material... material) |
boolean |
MaterialSetTag.isTagged(Material material) |
MaterialSetTag |
MaterialSetTag.not(Material... material) |
Modifier and Type | Method and Description |
---|---|
MaterialSetTag |
MaterialSetTag.add(Collection<Material> materials) |
MaterialSetTag |
MaterialSetTag.add(Predicate<Material> filter) |
MaterialSetTag |
MaterialSetTag.not(Collection<Material> materials) |
MaterialSetTag |
MaterialSetTag.not(Predicate<Material> filter) |
Constructor and Description |
---|
MaterialSetTag(Material... materials)
Deprecated.
Use NamespacedKey version of constructor
|
MaterialSetTag(NamespacedKey key,
Material... materials) |
Constructor and Description |
---|
MaterialSetTag(Collection<Material> materials)
Deprecated.
Use NamespacedKey version of constructor
|
MaterialSetTag(NamespacedKey key,
Collection<Material> materials) |
MaterialSetTag(NamespacedKey key,
Predicate<Material> filter) |
MaterialSetTag(Predicate<Material> filter)
Deprecated.
Use NamespacedKey version of constructor
|
Modifier and Type | Method and Description |
---|---|
Material |
AnvilDamagedEvent.DamageState.getMaterial()
Get block material of this state
|
Modifier and Type | Method and Description |
---|---|
static AnvilDamagedEvent.DamageState |
AnvilDamagedEvent.DamageState.getState(Material material)
Get damaged state by block material
|
Modifier and Type | Method and Description |
---|---|
Set<Material> |
PlayerArmorChangeEvent.SlotType.getTypes()
Gets an immutable set of all allowed material types that can be placed in an
armor slot.
|
Modifier and Type | Method and Description |
---|---|
static PlayerArmorChangeEvent.SlotType |
PlayerArmorChangeEvent.SlotType.getByMaterial(Material material)
Gets the type of slot via the specified material
|
static boolean |
PlayerArmorChangeEvent.SlotType.isEquipable(Material material)
Gets whether or not this material can be equipped to a slot
|
Modifier and Type | Field and Description |
---|---|
static Tag<Material> |
Tag.ACACIA_LOGS
Vanilla block tag representing all acacia log and bark variants.
|
static Tag<Material> |
Tag.ANVIL
Vanilla block tag representing all damaged and undamaged anvils.
|
static Tag<Material> |
Tag.BAMBOO_PLANTABLE_ON
Vanilla block tag denoting all blocks bamboo may be planted on.
|
static Tag<Material> |
Tag.BANNERS
Vanilla block tag representing all banner blocks.
|
static Tag<Material> |
Tag.BEDS
Vanilla block tag representing all beds.
|
static Tag<Material> |
Tag.BIRCH_LOGS
Vanilla block tag representing all birch log and bark variants.
|
static Tag<Material> |
Tag.BUTTONS
Vanilla block tag representing all buttons (inherits from
Tag.WOODEN_BUTTONS . |
static Tag<Material> |
Tag.CARPETS
Vanilla block tag representing all colors of carpet.
|
static Tag<Material> |
Tag.CORAL_BLOCKS
Vanilla block tag representing all coral blocks.
|
static Tag<Material> |
Tag.CORAL_PLANTS
Vanilla block tag representing all coral plants.
|
static Tag<Material> |
Tag.CORALS
Vanilla block tag representing all coral.
|
static Tag<Material> |
Tag.DARK_OAK_LOGS
Vanilla block tag representing all dark oak log and bark variants.
|
static Tag<Material> |
Tag.DIRT_LIKE
Vanilla block tag denoting dirt like blocks.
|
static Tag<Material> |
Tag.DOORS
Vanilla block tag representing all doors (inherits from
Tag.WOODEN_DOORS . |
static Tag<Material> |
Tag.ENDERMAN_HOLDABLE
Vanilla block tag denoting blocks that enderman may pick up and hold.
|
static Tag<Material> |
Tag.FENCES
Vanilla block tag representing all fences.
|
static Tag<Material> |
Tag.FLOWER_POTS
Vanilla block tag representing all empty and filled flower pots.
|
static Tag<Material> |
Tag.ICE
Vanilla block tag denoting ice blocks.
|
static Tag<Material> |
Tag.IMPERMEABLE
Vanilla block tag denoting impermeable blocks which do not drip fluids.
|
static Tag<Material> |
Tag.ITEMS_ARROWS
Vanilla item tag representing all arrow items.
|
static Tag<Material> |
Tag.ITEMS_BANNERS
Vanilla item tag representing all banner items.
|
static Tag<Material> |
Tag.ITEMS_BOATS
Vanilla item tag representing all boat items.
|
static Tag<Material> |
Tag.ITEMS_COALS
Vanilla item tag representing all coal items.
|
static Tag<Material> |
Tag.ITEMS_FISHES
Vanilla item tag representing all fish items.
|
static Tag<Material> |
Tag.ITEMS_MUSIC_DISCS
Vanilla item tag representing all music disc items.
|
static Tag<Material> |
Tag.JUNGLE_LOGS
Vanilla block tag representing all jungle log and bark variants.
|
static Tag<Material> |
Tag.LEAVES
Vanilla block tag representing all leaves fans.
|
static Tag<Material> |
Tag.LOGS
Vanilla block tag representing all log and bark variants.
|
static Registry<Material> |
Registry.MATERIAL
Server materials.
|
static Tag<Material> |
Tag.OAK_LOGS
Vanilla block tag representing all oak log and bark variants.
|
static Tag<Material> |
Tag.PLANKS
Vanilla block tag representing all plank variants.
|
static Tag<Material> |
Tag.RAILS
Vanilla block tag representing all Minecart rails.
|
static Tag<Material> |
Tag.SAND
Vanilla block tag representing all sand blocks.
|
static Tag<Material> |
Tag.SAPLINGS
Vanilla block tag representing all sapling variants.
|
static Tag<Material> |
Tag.SIGNS
Vanilla block tag representing all signs.
|
static Tag<Material> |
Tag.SLABS
Vanilla block tag representing all slabs.
|
static Tag<Material> |
Tag.SMALL_FLOWERS
Vanilla block tag representing all small flowers.
|
static Tag<Material> |
Tag.SPRUCE_LOGS
Vanilla block tag representing all spruce log and bark variants.
|
static Tag<Material> |
Tag.STAIRS
Vanilla block tag representing all stairs.
|
static Tag<Material> |
Tag.STANDING_SIGNS
Vanilla block tag representing all standing signs.
|
static Tag<Material> |
Tag.STONE_BRICKS
Vanilla block tag representing all regular/mossy/cracked/chiseled stone
bricks.
|
static Tag<Material> |
Tag.TRAPDOORS
Vanilla block tag representing all trapdoors (inherits from
Tag.WOODEN_TRAPDOORS . |
static Tag<Material> |
Tag.UNDERWATER_BONEMEALS
Vanilla block tag denoting all underwater blocks which may be bonemealed.
|
static Tag<Material> |
Tag.VALID_SPAWN
Vanilla block tag denoting all valid mob spawn positions.
|
static Tag<Material> |
Tag.WALL_CORALS
Vanilla block tag representing all wall corals.
|
static Tag<Material> |
Tag.WALL_SIGNS
Vanilla block tag representing all wall signs.
|
static Tag<Material> |
Tag.WALLS
Vanilla block tag representing all walls.
|
static Tag<Material> |
Tag.WOODEN_BUTTONS
Vanilla block tag representing all wooden buttons.
|
static Tag<Material> |
Tag.WOODEN_DOORS
Vanilla block tag representing all wooden doors.
|
static Tag<Material> |
Tag.WOODEN_FENCES
Vanilla block tag representing all wooden fences.
|
static Tag<Material> |
Tag.WOODEN_PRESSURE_PLATES
Vanilla block tag representing all wooden pressure plates.
|
static Tag<Material> |
Tag.WOODEN_SLABS
Vanilla block tag representing all wooden slabs.
|
static Tag<Material> |
Tag.WOODEN_STAIRS
Vanilla block tag representing all wooden stairs.
|
static Tag<Material> |
Tag.WOODEN_TRAPDOORS
Vanilla block tag representing all wooden trapdoors.
|
static Tag<Material> |
Tag.WOOL
Vanilla block tag representing all colors of wool.
|
Modifier and Type | Method and Description |
---|---|
Material |
UnsafeValues.fromLegacy(Material material)
Deprecated.
|
Material |
UnsafeValues.fromLegacy(MaterialData material)
Deprecated.
|
Material |
UnsafeValues.fromLegacy(MaterialData material,
boolean itemPriority)
Deprecated.
|
Material |
ChunkSnapshot.getBlockType(int x,
int y,
int z)
Get block type for block at corresponding coordinate in the chunk
|
static Material |
Material.getMaterial(String name)
Attempts to get the Material with the given name.
|
static Material |
Material.getMaterial(String name,
boolean legacyName)
Attempts to get the Material with the given name.
|
Material |
UnsafeValues.getMaterial(String material,
int version)
Deprecated.
|
static Material |
Material.matchMaterial(String name)
Attempts to match the Material with the given name.
|
static Material |
Material.matchMaterial(String name,
boolean legacyName)
Attempts to match the Material with the given name.
|
Material |
UnsafeValues.toLegacy(Material material)
Deprecated.
|
static Material |
Material.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Material[] |
Material.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
BlockData |
Server.createBlockData(Material material)
Creates a new
BlockData instance for the specified Material, with
all properties initialized to unspecified defaults. |
static BlockData |
Bukkit.createBlockData(Material material)
Creates a new
BlockData instance for the specified Material, with
all properties initialized to unspecified defaults. |
BlockData |
Server.createBlockData(Material material,
Consumer<BlockData> consumer)
Creates a new
BlockData instance for the specified Material, with
all properties initialized to unspecified defaults. |
static BlockData |
Bukkit.createBlockData(Material material,
Consumer<BlockData> consumer)
Creates a new
BlockData instance for the specified Material, with
all properties initialized to unspecified defaults. |
BlockData |
Server.createBlockData(Material material,
String data)
Creates a new
BlockData instance for the specified Material, with
all properties initialized to unspecified defaults, except for those
provided in data. |
static BlockData |
Bukkit.createBlockData(Material material,
String data)
Creates a new
BlockData instance for the specified Material, with
all properties initialized to unspecified defaults, except for those
provided in data. |
Material |
UnsafeValues.fromLegacy(Material material)
Deprecated.
|
BlockData |
UnsafeValues.fromLegacy(Material material,
byte data)
Deprecated.
|
FallingBlock |
World.spawnFallingBlock(Location location,
Material material,
byte data)
Deprecated.
Magic value
|
Material |
UnsafeValues.toLegacy(Material material)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Material |
Jukebox.getPlaying()
Gets the record inserted into the jukebox.
|
Material |
BlockState.getType()
Gets the type of this block state.
|
Material |
Block.getType()
Gets the type of this block
|
Modifier and Type | Method and Description |
---|---|
void |
Jukebox.setPlaying(Material record)
Sets the record being played.
|
void |
BlockState.setType(Material type)
Sets the type of this block state.
|
void |
Block.setType(Material type)
Sets the type of this block
|
void |
Block.setType(Material type,
boolean applyPhysics)
Sets the type of this block
Note that applyPhysics = false is not in general safe. |
Modifier and Type | Method and Description |
---|---|
Material |
BlockData.getMaterial()
Get the Material represented by this block data.
|
Modifier and Type | Method and Description |
---|---|
abstract boolean |
EnchantmentTarget.includes(Material item)
Check whether this target includes the specified item.
|
Modifier and Type | Method and Description |
---|---|
Material |
FallingBlock.getMaterial()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
Player.decrementStatistic(Statistic statistic,
Material material)
Decrements the given statistic for this player for the given material.
|
void |
Player.decrementStatistic(Statistic statistic,
Material material,
int amount)
Decrements the given statistic for this player for the given material.
|
int |
HumanEntity.getCooldown(Material material)
Get the cooldown time in ticks remaining for the specified material.
|
int |
Player.getStatistic(Statistic statistic,
Material material)
Gets the value of the given statistic for this player.
|
boolean |
HumanEntity.hasCooldown(Material material)
Check whether a cooldown is active on the specified material.
|
void |
Player.incrementStatistic(Statistic statistic,
Material material)
Increments the given statistic for this player for the given material.
|
void |
Player.incrementStatistic(Statistic statistic,
Material material,
int amount)
Increments the given statistic for this player for the given material.
|
void |
Player.sendBlockChange(Location loc,
Material material,
byte data)
Deprecated.
Magic value
|
void |
HumanEntity.setCooldown(Material material,
int ticks)
Set a cooldown on the specified material for a certain amount of ticks.
|
void |
Player.setStatistic(Statistic statistic,
Material material,
int newValue)
Sets the given statistic for this player for the given material.
|
Modifier and Type | Method and Description |
---|---|
List<Block> |
LivingEntity.getLastTwoTargetBlocks(Set<Material> transparent,
int maxDistance)
Gets the last two blocks along the living entity's line of sight.
|
List<Block> |
LivingEntity.getLineOfSight(Set<Material> transparent,
int maxDistance)
Gets all blocks along the living entity's line of sight.
|
Block |
LivingEntity.getTargetBlock(Set<Material> transparent,
int maxDistance)
Gets the block that the living entity has targeted.
|
Modifier and Type | Method and Description |
---|---|
Material |
BlockPhysicsEvent.getChangedType()
Gets the type of block that changed, causing this event
|
Material |
BlockCanBuildEvent.getMaterial()
Gets the Material that we are trying to place.
|
Modifier and Type | Method and Description |
---|---|
Material |
EntityChangeBlockEvent.getTo()
Gets the Material that the block is changing into
|
Modifier and Type | Method and Description |
---|---|
Material |
FurnaceExtractEvent.getItemType()
Get the Material of the item being retrieved
|
Constructor and Description |
---|
FurnaceExtractEvent(Player player,
Block block,
Material itemType,
int itemAmount,
int exp) |
Modifier and Type | Method and Description |
---|---|
Material |
PlayerBucketEvent.getBucket()
Returns the bucket used in this event
|
Material |
PlayerStatisticIncrementEvent.getMaterial()
Gets the Material if
getStatistic() is a block
or item statistic otherwise returns null. |
Material |
PlayerInteractEvent.getMaterial()
Convenience method.
|
Constructor and Description |
---|
PlayerBucketEmptyEvent(Player who,
Block block,
Block blockClicked,
BlockFace blockFace,
Material bucket,
ItemStack itemInHand) |
PlayerBucketEmptyEvent(Player who,
Block block,
Block blockClicked,
BlockFace blockFace,
Material bucket,
ItemStack itemInHand,
EquipmentSlot hand) |
PlayerBucketEmptyEvent(Player who,
Block blockClicked,
BlockFace blockFace,
Material bucket,
ItemStack itemInHand)
Deprecated.
|
PlayerBucketEmptyEvent(Player who,
Block blockClicked,
BlockFace blockFace,
Material bucket,
ItemStack itemInHand,
EquipmentSlot hand)
Deprecated.
|
PlayerBucketEvent(Player who,
Block block,
Block blockClicked,
BlockFace blockFace,
Material bucket,
ItemStack itemInHand) |
PlayerBucketEvent(Player who,
Block block,
Block blockClicked,
BlockFace blockFace,
Material bucket,
ItemStack itemInHand,
EquipmentSlot hand) |
PlayerBucketEvent(Player who,
Block blockClicked,
BlockFace blockFace,
Material bucket,
ItemStack itemInHand)
Deprecated.
|
PlayerBucketEvent(Player who,
Block blockClicked,
BlockFace blockFace,
Material bucket,
ItemStack itemInHand,
EquipmentSlot hand)
Deprecated.
|
PlayerBucketFillEvent(Player who,
Block block,
Block blockClicked,
BlockFace blockFace,
Material bucket,
ItemStack itemInHand) |
PlayerBucketFillEvent(Player who,
Block block,
Block blockClicked,
BlockFace blockFace,
Material bucket,
ItemStack itemInHand,
EquipmentSlot hand) |
PlayerBucketFillEvent(Player who,
Block blockClicked,
BlockFace blockFace,
Material bucket,
ItemStack itemInHand)
Deprecated.
|
PlayerBucketFillEvent(Player who,
Block blockClicked,
BlockFace blockFace,
Material bucket,
ItemStack itemInHand,
EquipmentSlot hand)
Deprecated.
|
PlayerStatisticIncrementEvent(Player player,
Statistic statistic,
int initialValue,
int newValue,
Material material) |
Modifier and Type | Method and Description |
---|---|
Material |
ChunkGenerator.ChunkData.getType(int x,
int y,
int z)
Get the type of the block at x, y, z.
|
Modifier and Type | Method and Description |
---|---|
void |
ChunkGenerator.ChunkData.setBlock(int x,
int y,
int z,
Material 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,
Material material)
Set a region of this chunk from xMin, yMin, zMin (inclusive)
to xMax, yMax, zMax (exclusive) to material.
|
Modifier and Type | Method and Description |
---|---|
Material |
ItemStack.getType()
Gets the type of this item
|
Material |
ItemFactory.updateMaterial(ItemMeta meta,
Material material)
Deprecated.
for internal use only
|
Modifier and Type | Method and Description |
---|---|
List<Material> |
RecipeChoice.MaterialChoice.getChoices() |
Modifier and Type | Method and Description |
---|---|
ShapelessRecipe |
ShapelessRecipe.addIngredient(int count,
Material ingredient)
Adds multiples of the specified ingredient.
|
ShapelessRecipe |
ShapelessRecipe.addIngredient(int count,
Material ingredient,
int rawdata)
Deprecated.
Magic value
|
ShapelessRecipe |
ShapelessRecipe.addIngredient(Material ingredient)
Adds the specified ingredient.
|
ShapelessRecipe |
ShapelessRecipe.addIngredient(Material ingredient,
int rawdata)
Deprecated.
Magic value
|
HashMap<Integer,? extends ItemStack> |
Inventory.all(Material material)
Returns a HashMap with all slots and ItemStacks in the inventory with
the given Material.
|
ItemMeta |
ItemFactory.asMetaFor(ItemMeta meta,
Material material)
Returns an appropriate item meta for the specified material.
|
boolean |
Inventory.contains(Material material)
Checks if the inventory contains any ItemStacks with the given
material.
|
boolean |
Inventory.contains(Material material,
int amount)
Checks if the inventory contains any ItemStacks with the given
material, adding to at least the minimum amount specified.
|
int |
Inventory.first(Material material)
Finds the first slot in the inventory containing an ItemStack with the
given material
|
ItemMeta |
ItemFactory.getItemMeta(Material material)
This creates a new item meta for the material.
|
boolean |
ItemFactory.isApplicable(ItemMeta meta,
Material material)
This method checks the item meta to confirm that it is applicable (no
data lost if applied) to the specified Material.
|
void |
Inventory.remove(Material material)
Removes all stacks in the inventory matching the given material.
|
ShapelessRecipe |
ShapelessRecipe.removeIngredient(int count,
Material ingredient)
Removes multiple instances of an ingredient from the list.
|
ShapelessRecipe |
ShapelessRecipe.removeIngredient(int count,
Material ingredient,
int rawdata)
Deprecated.
Magic value
|
ShapelessRecipe |
ShapelessRecipe.removeIngredient(Material ingredient)
Removes an ingredient from the list.
|
ShapelessRecipe |
ShapelessRecipe.removeIngredient(Material ingredient,
int rawdata)
Deprecated.
Magic value
|
ShapedRecipe |
ShapedRecipe.setIngredient(char key,
Material ingredient)
Sets the material that a character in the recipe shape refers to.
|
ShapedRecipe |
ShapedRecipe.setIngredient(char key,
Material ingredient,
int raw)
Deprecated.
Magic value
|
StonecuttingRecipe |
StonecuttingRecipe.setInput(Material input)
Sets the input of this cooking recipe.
|
FurnaceRecipe |
FurnaceRecipe.setInput(Material input) |
CookingRecipe |
CookingRecipe.setInput(Material input)
Sets the input of this cooking recipe.
|
FurnaceRecipe |
FurnaceRecipe.setInput(Material input,
int data)
Deprecated.
Magic value
|
void |
ItemStack.setType(Material type)
Sets the type of this item
|
Material |
ItemFactory.updateMaterial(ItemMeta meta,
Material material)
Deprecated.
for internal use only
|
Constructor and Description |
---|
BlastingRecipe(NamespacedKey key,
ItemStack result,
Material source,
float experience,
int cookingTime) |
CampfireRecipe(NamespacedKey key,
ItemStack result,
Material source,
float experience,
int cookingTime) |
CookingRecipe(NamespacedKey key,
ItemStack result,
Material source,
float experience,
int cookingTime)
Create a cooking recipe to craft the specified ItemStack.
|
FurnaceRecipe(ItemStack result,
Material source)
Deprecated.
|
FurnaceRecipe(ItemStack result,
Material source,
int data)
Deprecated.
|
FurnaceRecipe(NamespacedKey key,
ItemStack result,
Material source,
float experience,
int cookingTime)
Create a furnace recipe to craft the specified ItemStack.
|
FurnaceRecipe(NamespacedKey key,
ItemStack result,
Material source,
int data,
float experience,
int cookingTime)
Deprecated.
|
ItemStack(Material type)
Defaults stack size to 1, with no extra data
|
ItemStack(Material type,
int amount)
An item stack with no extra data
|
ItemStack(Material type,
int amount,
short damage)
Deprecated.
|
ItemStack(Material type,
int amount,
short damage,
Byte data)
Deprecated.
this method uses an ambiguous data byte object
|
MaterialChoice(Material... choices) |
MaterialChoice(Material choice) |
SmokingRecipe(NamespacedKey key,
ItemStack result,
Material source,
float experience,
int cookingTime) |
StonecuttingRecipe(NamespacedKey key,
ItemStack result,
Material source)
Create a Stonecutting recipe to craft the specified ItemStack.
|
Constructor and Description |
---|
MaterialChoice(List<Material> choices) |
MaterialChoice(Tag<Material> choices)
Constructs a MaterialChoice with the current values of the specified
tag.
|
Modifier and Type | Method and Description |
---|---|
Set<Material> |
ItemMeta.getCanDestroy()
Deprecated.
Minecraft does not limit this to the material enum, Use
ItemMeta.getDestroyableKeys() as a replacement |
Set<Material> |
ItemMeta.getCanPlaceOn()
Deprecated.
Minecraft does not limit this to the material enum, Use
ItemMeta.getPlaceableKeys() as a replacement |
Modifier and Type | Method and Description |
---|---|
BlockData |
BlockDataMeta.getBlockData(Material material)
Returns the currently attached block data for this item or creates a new
one if one doesn't exist.
|
Modifier and Type | Method and Description |
---|---|
void |
ItemMeta.setCanDestroy(Set<Material> canDestroy)
Deprecated.
Minecraft does not limit this to the material enum, Use
ItemMeta.setDestroyableKeys(Collection) as a replacement |
void |
ItemMeta.setCanPlaceOn(Set<Material> canPlaceOn)
Deprecated.
Minecraft does not limit this to the material enum, Use
ItemMeta.setPlaceableKeys(Collection) as a replacement |
Modifier and Type | Field and Description |
---|---|
protected static Material |
WoodenStep.DEFAULT_TYPE
Deprecated.
|
protected static Material |
Wood.DEFAULT_TYPE
Deprecated.
|
protected static Material |
Tree.DEFAULT_TYPE
Deprecated.
|
protected static Material |
Leaves.DEFAULT_TYPE
Deprecated.
|
protected static Material |
Crops.DEFAULT_TYPE
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Material |
MaterialData.getItemType()
Deprecated.
Gets the Material that this MaterialData represents
|
Material |
TexturedMaterial.getMaterial()
Deprecated.
Gets the current Material this block is made of
|
static Material |
Door.getWoodDoorOfSpecies(TreeSpecies species)
Deprecated.
Returns the item type of a wooden door for the given tree species.
|
Modifier and Type | Method and Description |
---|---|
abstract List<Material> |
TexturedMaterial.getTextures()
Deprecated.
Retrieve a list of possible textures.
|
List<Material> |
Step.getTextures()
Deprecated.
|
List<Material> |
SmoothBrick.getTextures()
Deprecated.
|
List<Material> |
MonsterEggs.getTextures()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
TexturedMaterial.setMaterial(Material material)
Deprecated.
Sets the material this block is made of
|
Constructor and Description |
---|
Banner(Material type)
Deprecated.
|
Banner(Material type,
byte data)
Deprecated.
Magic value
|
Bed(Material type)
Deprecated.
|
Bed(Material type,
byte data)
Deprecated.
Magic value
|
Button(Material type)
Deprecated.
|
Button(Material type,
byte data)
Deprecated.
Magic value
|
Cake(Material type)
Deprecated.
|
Cake(Material type,
byte data)
Deprecated.
Magic value
|
Cauldron(Material type,
byte data)
Deprecated.
Magic value
|
Chest(Material type)
Deprecated.
|
Chest(Material type,
byte data)
Deprecated.
Magic value
|
Coal(Material type)
Deprecated.
|
Coal(Material type,
byte data)
Deprecated.
Magic value
|
CocoaPlant(Material type,
byte data)
Deprecated.
Magic value
|
Command(Material type)
Deprecated.
|
Command(Material type,
byte data)
Deprecated.
Magic value
|
Comparator(Material type)
Deprecated.
|
Comparator(Material type,
byte data)
Deprecated.
Magic value
|
Crops(Material type)
Deprecated.
Constructs a crop block of the given type and in the seeded state
|
Crops(Material type,
byte data)
Deprecated.
Magic value
|
Crops(Material type,
CropState state)
Deprecated.
Constructs a crop block of the given type and in the given growth state
|
DetectorRail(Material type)
Deprecated.
|
DetectorRail(Material type,
byte data)
Deprecated.
Magic value
|
Diode(Material type)
Deprecated.
|
Diode(Material type,
byte data)
Deprecated.
Magic value
|
DirectionalContainer(Material type)
Deprecated.
|
DirectionalContainer(Material type,
byte data)
Deprecated.
Magic value
|
Dispenser(Material type)
Deprecated.
|
Dispenser(Material type,
byte data)
Deprecated.
Magic value
|
Door(Material type)
Deprecated.
|
Door(Material type,
BlockFace face)
Deprecated.
Constructs the bottom half of a door of the given material type, facing the specified direction and set to closed
|
Door(Material type,
BlockFace face,
boolean isOpen)
Deprecated.
Constructs the bottom half of a door of the given material type, facing the specified direction and set to open
or closed
|
Door(Material type,
boolean isHingeRight)
Deprecated.
Constructs the top half of door of the given material type and with the hinge on the left or right
|
Door(Material type,
byte data)
Deprecated.
Magic value
|
Dye(Material type)
Deprecated.
|
Dye(Material type,
byte data)
Deprecated.
Magic value
|
EnderChest(Material type)
Deprecated.
|
EnderChest(Material type,
byte data)
Deprecated.
Magic value
|
ExtendedRails(Material type)
Deprecated.
|
ExtendedRails(Material type,
byte data)
Deprecated.
Magic value
|
FlowerPot(Material type)
Deprecated.
|
FlowerPot(Material type,
byte data)
Deprecated.
Magic value
|
Furnace(Material type)
Deprecated.
|
Furnace(Material type,
byte data)
Deprecated.
Magic value
|
FurnaceAndDispenser(Material type)
Deprecated.
|
FurnaceAndDispenser(Material type,
byte data)
Deprecated.
Magic value
|
Gate(Material type,
byte data)
Deprecated.
Magic value
|
Hopper(Material type)
Deprecated.
|
Hopper(Material type,
byte data)
Deprecated.
Magic value
|
Ladder(Material type)
Deprecated.
|
Ladder(Material type,
byte data)
Deprecated.
Magic value
|
Leaves(Material type)
Deprecated.
Constructs a leaf block of the given type.
|
Leaves(Material type,
byte data)
Deprecated.
Magic value
|
Leaves(Material type,
TreeSpecies species)
Deprecated.
Constructs a leaf block of the given type and tree species.
|
Leaves(Material type,
TreeSpecies species,
boolean isDecayable)
Deprecated.
Constructs a leaf block of the given type and tree species and flag for
whether this leaf block will disappear when too far from a log.
|
Lever(Material type)
Deprecated.
|
Lever(Material type,
byte data)
Deprecated.
Magic value
|
LongGrass(Material type)
Deprecated.
|
LongGrass(Material type,
byte data)
Deprecated.
Magic value
|
MaterialData(Material type)
Deprecated.
|
MaterialData(Material type,
byte data)
Deprecated.
Magic value
|
MonsterEggs(Material type)
Deprecated.
|
MonsterEggs(Material type,
byte data)
Deprecated.
Magic value
|
Mushroom(Material shroom)
Deprecated.
Constructs a brown/red mushroom block with all sides set to pores.
|
Mushroom(Material shroom,
BlockFace capFace)
Deprecated.
Constructs a brown/red mushroom cap block with the specified face or
faces set to cap texture.
|
Mushroom(Material shroom,
byte data)
Deprecated.
Magic value
|
Mushroom(Material shroom,
MushroomBlockTexture texture)
Deprecated.
Constructs a brown/red mushroom block with the specified textures.
|
NetherWarts(Material type)
Deprecated.
|
NetherWarts(Material type,
byte data)
Deprecated.
Magic value
|
Observer(Material type)
Deprecated.
|
Observer(Material type,
byte data)
Deprecated.
Magic value
|
PistonBaseMaterial(Material type)
Deprecated.
|
PistonBaseMaterial(Material type,
byte data)
Deprecated.
Magic value
|
PistonExtensionMaterial(Material type)
Deprecated.
|
PistonExtensionMaterial(Material type,
byte data)
Deprecated.
Magic value
|
PoweredRail(Material type)
Deprecated.
|
PoweredRail(Material type,
byte data)
Deprecated.
Magic value
|
PressurePlate(Material type)
Deprecated.
|
PressurePlate(Material type,
byte data)
Deprecated.
Magic value
|
Pumpkin(Material type)
Deprecated.
|
Pumpkin(Material type,
byte data)
Deprecated.
Magic value
|
Rails(Material type)
Deprecated.
|
Rails(Material type,
byte data)
Deprecated.
Magic value
|
RedstoneTorch(Material type)
Deprecated.
|
RedstoneTorch(Material type,
byte data)
Deprecated.
Magic value
|
RedstoneWire(Material type)
Deprecated.
|
RedstoneWire(Material type,
byte data)
Deprecated.
Magic value
|
Sandstone(Material type)
Deprecated.
|
Sandstone(Material type,
byte data)
Deprecated.
Magic value
|
Sapling(Material type)
Deprecated.
Constructs a sapling of the given type.
|
Sapling(Material type,
byte data)
Deprecated.
Magic value
|
Sapling(Material type,
TreeSpecies species)
Deprecated.
Constructs a sapling of the given type and tree species.
|
Sapling(Material type,
TreeSpecies species,
boolean isInstantGrowable)
Deprecated.
Constructs a sapling of the given type and tree species and if is it
instant growable
|
Sign(Material type)
Deprecated.
|
Sign(Material type,
byte data)
Deprecated.
Magic value
|
SimpleAttachableMaterialData(Material type)
Deprecated.
|
SimpleAttachableMaterialData(Material type,
BlockFace direction)
Deprecated.
|
SimpleAttachableMaterialData(Material type,
byte data)
Deprecated.
Magic value
|
Skull(Material type)
Deprecated.
|
Skull(Material type,
byte data)
Deprecated.
Magic value
|
SmoothBrick(Material type)
Deprecated.
|
SmoothBrick(Material type,
byte data)
Deprecated.
Magic value
|
SpawnEgg(Material type,
byte data)
Deprecated.
Magic value
|
Stairs(Material type)
Deprecated.
|
Stairs(Material type,
byte data)
Deprecated.
Magic value
|
Step(Material type)
Deprecated.
|
Step(Material type,
byte data)
Deprecated.
Magic value
|
TexturedMaterial(Material m)
Deprecated.
|
TexturedMaterial(Material type,
byte data)
Deprecated.
Magic value
|
Torch(Material type)
Deprecated.
|
Torch(Material type,
byte data)
Deprecated.
Magic value
|
TrapDoor(Material type)
Deprecated.
|
TrapDoor(Material type,
byte data)
Deprecated.
Magic value
|
Tree(Material type)
Deprecated.
Constructs a tree block of the given type.
|
Tree(Material type,
byte data)
Deprecated.
Magic value
|
Tree(Material type,
TreeSpecies species)
Deprecated.
Constructs a tree block of the given type and tree species.
|
Tree(Material type,
TreeSpecies species,
BlockFace dir)
Deprecated.
Constructs a tree block of the given type and tree species, and facing
the given direction.
|
Tripwire(Material type,
byte data)
Deprecated.
Magic value
|
TripwireHook(Material type,
byte data)
Deprecated.
Magic value
|
Vine(Material type,
byte data)
Deprecated.
Magic value
|
Wood(Material type)
Deprecated.
Constructs a wood block of the given type.
|
Wood(Material type,
byte data)
Deprecated.
Magic value
|
Wood(Material type,
TreeSpecies species)
Deprecated.
Constructs a wood block of the given type and tree species.
|
WoodenStep(Material type,
byte data)
Deprecated.
Magic value
|
Wool(Material type)
Deprecated.
|
Wool(Material type,
byte data)
Deprecated.
Magic value
|
Copyright © 2022. All rights reserved.