Stargate/src/main/java/net/knarcraft/stargate/BloxPopulator.java

49 lines
913 B
Java
Raw Normal View History

package net.knarcraft.stargate;
import org.bukkit.Axis;
import org.bukkit.Material;
public class BloxPopulator {
private BlockLocation blockLocation;
private Material nextMat;
private Axis nextAxis;
public BloxPopulator(BlockLocation b, Material m) {
blockLocation = b;
nextMat = m;
nextAxis = null;
}
public BloxPopulator(BlockLocation b, Material m, Axis a) {
blockLocation = b;
nextMat = m;
nextAxis = a;
}
public void setBlockLocation(BlockLocation b) {
blockLocation = b;
}
public void setMat(Material m) {
nextMat = m;
}
public void setAxis(Axis a) {
nextAxis = a;
}
public BlockLocation getBlockLocation() {
return blockLocation;
}
public Material getMat() {
return nextMat;
}
public Axis getAxis() {
return nextAxis;
}
}