@@ -8,32 +8,13 @@ import org.bukkit.Material;
|
||||
*/
|
||||
public class Button extends SimpleAttachableMaterialData implements Redstone {
|
||||
public Button() {
|
||||
super(Material.STONE_BUTTON);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param type the type
|
||||
* @deprecated Magic value
|
||||
*/
|
||||
@Deprecated
|
||||
public Button(final int type) {
|
||||
super(type);
|
||||
super(Material.LEGACY_STONE_BUTTON);
|
||||
}
|
||||
|
||||
public Button(final Material type) {
|
||||
super(type);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param type the raw type id
|
||||
* @param data the raw data value
|
||||
* @deprecated Magic value
|
||||
*/
|
||||
@Deprecated
|
||||
public Button(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