Bukkit
1.4.7-R1.0
Main Page
Related Pages
Classes
Files
File List
All
Classes
Namespaces
Files
Functions
Variables
Enumerator
Pages
SmoothBrick.java
Go to the documentation of this file.
1
package
org.bukkit.material;
2
3
import
java.util.ArrayList;
4
import
java.util.List;
5
6
import
org.bukkit.Material;
7
11
public
class
SmoothBrick
extends
TexturedMaterial
{
12
13
private
static
final
List<Material> textures =
new
ArrayList<Material>();
14
static
{
15
textures.add(
Material
.
STONE
);
16
textures.add(
Material
.
MOSSY_COBBLESTONE
);
17
textures.add(
Material
.
COBBLESTONE
);
18
textures.add(
Material
.
SMOOTH_BRICK
);
19
}
20
21
public
SmoothBrick
() {
22
super(
Material
.
SMOOTH_BRICK
);
23
}
24
25
public
SmoothBrick
(
final
int
type) {
26
super(type);
27
}
28
29
public
SmoothBrick
(
final
Material
type) {
30
super((textures.contains(type)) ?
Material
.
SMOOTH_BRICK
: type);
31
if
(textures.contains(type)) {
32
setMaterial
(type);
33
}
34
}
35
36
public
SmoothBrick
(
final
int
type,
final
byte data) {
37
super(type, data);
38
}
39
40
public
SmoothBrick
(
final
Material
type,
final
byte data) {
41
super(type, data);
42
}
43
44
@Override
45
public
List<Material>
getTextures
() {
46
return
textures;
47
}
48
49
@Override
50
public
SmoothBrick
clone
() {
51
return
(
SmoothBrick
) super.
clone
();
52
}
53
}
org
bukkit
material
SmoothBrick.java
Generated on Sat May 25 2013 11:16:35 for Bukkit by
1.8.2