BlockData
.@Deprecated public class Wood extends MaterialData
Modifier and Type | Field and Description |
---|---|
protected static TreeSpecies |
DEFAULT_SPECIES
Deprecated.
|
protected static Material |
DEFAULT_TYPE
Deprecated.
|
Constructor and Description |
---|
Wood()
Deprecated.
Constructs a wood block.
|
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.
|
Wood(TreeSpecies species)
Deprecated.
Constructs a wood block of the given tree species.
|
Modifier and Type | Method and Description |
---|---|
Wood |
clone()
Deprecated.
|
TreeSpecies |
getSpecies()
Deprecated.
Gets the current species of this wood block
|
void |
setSpecies(TreeSpecies species)
Deprecated.
Sets the species of this wood block
|
String |
toString()
Deprecated.
|
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
protected static final Material DEFAULT_TYPE
protected static final TreeSpecies DEFAULT_SPECIES
public Wood()
public Wood(TreeSpecies species)
species
- the species of the wood blockpublic Wood(Material type)
type
- the type of wood blockpublic Wood(Material type, TreeSpecies species)
type
- the type of wood blockspecies
- the species of the wood block@Deprecated public Wood(Material type, byte data)
type
- the typedata
- the raw data valuepublic TreeSpecies getSpecies()
public void setSpecies(TreeSpecies species)
species
- New species of this wood blockpublic String toString()
toString
in class MaterialData
public Wood clone()
clone
in class MaterialData
Copyright © 2021. All rights reserved.