blob: 10045a25a8f787de486cc5b5028fd6224b87a74e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
package com.encrox.zombie.interactable;
import org.bukkit.block.BlockFace;
import org.bukkit.util.BlockVector;
public class Chest extends Interactable {
private BlockFace facing;
public Chest(BlockVector bv, int cost, BlockFace facing) {
super(bv, cost);
this.facing = facing;
}
public Chest(BlockVector bv, int cost, String facing) {
this(bv, cost, BlockFace.valueOf(facing));
}
public Chest(BlockVector bv, int cost) {
this(bv, cost, BlockFace.NORTH);
}
public BlockFace getFacing() {
return facing;
}
}
|