Package | Description |
---|---|
org.bukkit |
More generalized classes in the API.
|
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 | Description |
---|---|---|
static 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 | Description |
---|---|---|
TreeSpecies |
Boat.getWoodType() |
Gets the wood type of the boat.
|
Modifier and Type | Method | Description |
---|---|---|
void |
Boat.setWoodType(TreeSpecies species) |
Sets the wood type of the boat.
|
Modifier and Type | Field | Description |
---|---|---|
protected static TreeSpecies |
Wood.DEFAULT_SPECIES |
Modifier and Type | Method | Description |
---|---|---|
TreeSpecies |
Wood.getSpecies() |
Gets the current species of this wood block
|
Modifier and Type | Method | Description |
---|---|---|
static Material |
Door.getWoodDoorOfSpecies(TreeSpecies species) |
Returns the item type of a wooden door for the given tree species.
|
void |
Wood.setSpecies(TreeSpecies species) |
Sets the species of this wood block
|
Constructor | Description |
---|---|
Door(TreeSpecies species,
boolean isHingeRight) |
Constructs the top half of a wooden door of the given species and with the hinge on the left or right
|
Door(TreeSpecies species,
BlockFace face) |
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) |
Constructs the bottom half of a wooden door of the given species, facing the specified direction and set to open
or closed
|
Leaves(Material type,
TreeSpecies species) |
Constructs a leaf block of the given type and tree species.
|
Leaves(Material type,
TreeSpecies species,
boolean isDecayable) |
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) |
Constructs a leaf block of the given tree species.
|
Leaves(TreeSpecies species,
boolean isDecayable) |
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) |
Constructs a sapling of the given type and tree species.
|
Sapling(Material type,
TreeSpecies species,
boolean isInstantGrowable) |
Constructs a sapling of the given type and tree species and if is it
instant growable
|
Sapling(TreeSpecies species) |
Constructs a sapling of the given tree species.
|
Sapling(TreeSpecies species,
boolean isInstantGrowable) |
Constructs a sapling of the given tree species and if is it instant
growable
|
Tree(Material type,
TreeSpecies species) |
Constructs a tree block of the given type and tree species.
|
Tree(Material type,
TreeSpecies species,
BlockFace dir) |
Constructs a tree block of the given type and tree species, and facing
the given direction.
|
Tree(TreeSpecies species) |
Constructs a tree block of the given tree species.
|
Tree(TreeSpecies species,
BlockFace dir) |
Constructs a tree block of the given tree species, and facing the given
direction.
|
Wood(Material type,
TreeSpecies species) |
Constructs a wood block of the given type and tree species.
|
Wood(TreeSpecies species) |
Constructs a wood block of the given tree species.
|
WoodenStep(TreeSpecies species) |
Constructs a wooden step of the given tree species.
|
WoodenStep(TreeSpecies species,
boolean inv) |
Constructs a wooden step of the given type and tree species, either
inverted or not.
|
Copyright © 2020. All rights reserved.