blob: ca8b10c3e28bb9c53638648dcf89d3038d485431 [file] [log] [blame] [raw]
package net.lightstone.msg;
public final class BlockPlacementMessage extends Message {
private final int id, x, y, z, direction, count, damage;
public BlockPlacementMessage(int x, int y, int z, int direction) {
this(x, y, z, direction, -1, 0, 0);
}
public BlockPlacementMessage(int x, int y, int z, int direction, int id, int count, int damage) {
this.id = id;
this.x = x;
this.y = y;
this.z = z;
this.direction = direction;
this.count = count;
this.damage = damage;
}
public int getCount() {
return count;
}
public int getDamage() {
return damage;
}
public int getId() {
return id;
}
public int getX() {
return x;
}
public int getY() {
return y;
}
public int getZ() {
return z;
}
public int getDirection() {
return direction;
}
}