Package | Description |
---|---|
org.bukkit |
The root package of the Bukkit API, contains generalized API classes.
|
org.bukkit.entity |
Interfaces for non-voxel objects that can exist in a
world , including all players, monsters, projectiles, etc. |
org.bukkit.material |
Classes that represents various voxel types and states.
|
Modifier and Type | Method and Description |
---|---|
static @Nullable TreeSpecies |
TreeSpecies.getByData(byte data)
Deprecated.
Magic value
|
static TreeSpecies |
TreeSpecies.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TreeSpecies[] |
TreeSpecies.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
@NotNull TreeSpecies |
Boat.getWoodType()
Gets the wood type of the boat.
|
Modifier and Type | Method and Description |
---|---|
void |
Boat.setWoodType(@NotNull TreeSpecies species)
Sets the wood type of the boat.
|
Modifier and Type | Field and Description |
---|---|
protected static TreeSpecies |
Wood.DEFAULT_SPECIES
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
TreeSpecies |
Wood.getSpecies()
Deprecated.
Gets the current species of this wood block
|
Modifier and Type | Method and Description |
---|---|
static Material |
Door.getWoodDoorOfSpecies(TreeSpecies species)
Deprecated.
Returns the item type of a wooden door for the given tree species.
|
void |
Wood.setSpecies(TreeSpecies species)
Deprecated.
Sets the species of this wood block
|
Constructor and Description |
---|
Door(TreeSpecies species,
BlockFace face)
Deprecated.
Constructs the bottom half of a wooden door of the given species, facing the specified direction and set to
closed
|
Door(TreeSpecies species,
BlockFace face,
boolean isOpen)
Deprecated.
Constructs the bottom half of a wooden door of the given species, facing the specified direction and set to open
or closed
|
Door(TreeSpecies species,
boolean isHingeRight)
Deprecated.
Constructs the top half of a wooden door of the given species and with the hinge on the left or right
|
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.
|
Leaves(TreeSpecies species)
Deprecated.
Constructs a leaf block of the given tree species.
|
Leaves(TreeSpecies species,
boolean isDecayable)
Deprecated.
Constructs a leaf block of the given tree species and flag for whether
this leaf block will disappear when too far from a log.
|
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
|
Sapling(TreeSpecies species)
Deprecated.
Constructs a sapling of the given tree species.
|
Sapling(TreeSpecies species,
boolean isInstantGrowable)
Deprecated.
Constructs a sapling of the given tree species and if is it instant
growable
|
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.
|
Tree(TreeSpecies species)
Deprecated.
Constructs a tree block of the given tree species.
|
Tree(TreeSpecies species,
BlockFace dir)
Deprecated.
Constructs a tree block of the given tree species, and facing the given
direction.
|
Wood(Material type,
TreeSpecies species)
Deprecated.
Constructs a wood block of the given type and tree species.
|
Wood(TreeSpecies species)
Deprecated.
Constructs a wood block of the given tree species.
|
WoodenStep(TreeSpecies species)
Deprecated.
Constructs a wooden step of the given tree species.
|
WoodenStep(TreeSpecies species,
boolean inv)
Deprecated.
Constructs a wooden step of the given type and tree species, either
inverted or not.
|
Copyright © 2021. All rights reserved.