@@ -7,11 +7,11 @@ import org.bukkit.block.BlockFace;
|
||||
/**
|
||||
* Represents the different types of Tree block that face a direction.
|
||||
*
|
||||
* @see Material#LOG
|
||||
* @see Material#LOG_2
|
||||
* @see Material#LEGACY_LOG
|
||||
* @see Material#LEGACY_LOG_2
|
||||
*/
|
||||
public class Tree extends Wood {
|
||||
protected static final Material DEFAULT_TYPE = Material.LOG;
|
||||
protected static final Material DEFAULT_TYPE = Material.LEGACY_LOG;
|
||||
protected static final BlockFace DEFAULT_DIRECTION = BlockFace.UP;
|
||||
|
||||
/**
|
||||
@@ -41,15 +41,6 @@ public class Tree extends Wood {
|
||||
this(DEFAULT_TYPE, species, dir);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param type the raw type id
|
||||
* @deprecated Magic value
|
||||
*/
|
||||
@Deprecated
|
||||
public Tree(final int type) {
|
||||
super(type);
|
||||
}
|
||||
|
||||
/**
|
||||
* Constructs a tree block of the given type.
|
||||
*
|
||||
@@ -82,16 +73,6 @@ public class Tree extends Wood {
|
||||
setDirection(dir);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param type the raw type id
|
||||
* @param data the raw data value
|
||||
* @deprecated Magic value
|
||||
*/
|
||||
@Deprecated
|
||||
public Tree(final int type, final byte data) {
|
||||
super(type, data);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param type the type
|
||||
* @param data the raw data value
|
||||
|
||||
Reference in New Issue
Block a user