Bukkit
1.5.2-R1.0
Main Page
Related Pages
Classes
Files
File List
All
Classes
Namespaces
Files
Functions
Variables
Enumerator
Pages
Sandstone.java
Go to the documentation of this file.
1
package
org.bukkit.material;
2
3
import
org.bukkit.Material;
4
import
org.bukkit.SandstoneType;
5
9
public
class
Sandstone
extends
MaterialData
{
10
public
Sandstone
() {
11
super(
Material
.
SANDSTONE
);
12
}
13
14
public
Sandstone
(
SandstoneType
type) {
15
this
();
16
setType
(type);
17
}
18
19
public
Sandstone
(
final
int
type) {
20
super(type);
21
}
22
23
public
Sandstone
(
final
Material
type) {
24
super(type);
25
}
26
27
public
Sandstone
(
final
int
type,
final
byte data) {
28
super(type, data);
29
}
30
31
public
Sandstone
(
final
Material
type,
final
byte data) {
32
super(type, data);
33
}
34
40
public
SandstoneType
getType
() {
41
return
SandstoneType
.
getByData
(
getData
());
42
}
43
49
public
void
setType
(
SandstoneType
type) {
50
setData
(type.
getData
());
51
}
52
53
@Override
54
public
String
toString
() {
55
return
getType
() +
" "
+ super.toString();
56
}
57
58
@Override
59
public
Sandstone
clone
() {
60
return
(
Sandstone
) super.
clone
();
61
}
62
}
org
bukkit
material
Sandstone.java
Generated on Wed Jun 19 2013 21:16:38 for Bukkit by
1.8.2