@@ -7,11 +7,11 @@ import org.bukkit.TreeSpecies;
|
||||
* Represents the different types of leaf block that may be permanent or can
|
||||
* decay when too far from a log.
|
||||
*
|
||||
* @see Material#LEAVES
|
||||
* @see Material#LEAVES_2
|
||||
* @see Material#LEGACY_LEAVES
|
||||
* @see Material#LEGACY_LEAVES_2
|
||||
*/
|
||||
public class Leaves extends Wood {
|
||||
protected static final Material DEFAULT_TYPE = Material.LEAVES;
|
||||
protected static final Material DEFAULT_TYPE = Material.LEGACY_LEAVES;
|
||||
protected static final boolean DEFAULT_DECAYABLE = true;
|
||||
|
||||
/**
|
||||
@@ -41,15 +41,6 @@ public class Leaves extends Wood {
|
||||
this(DEFAULT_TYPE, species, isDecayable);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param type the raw type id
|
||||
* @deprecated Magic value
|
||||
*/
|
||||
@Deprecated
|
||||
public Leaves(final int type) {
|
||||
super(type);
|
||||
}
|
||||
|
||||
/**
|
||||
* Constructs a leaf block of the given type.
|
||||
*
|
||||
@@ -82,16 +73,6 @@ public class Leaves extends Wood {
|
||||
setDecayable(isDecayable);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param type the raw type id
|
||||
* @param data the raw data value
|
||||
* @deprecated Magic value
|
||||
*/
|
||||
@Deprecated
|
||||
public Leaves(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