mirror of https://github.com/Minestom/Minestom.git
24 lines
391 B
Java
24 lines
391 B
Java
package fr.themode.minestom.instance;
|
|
|
|
public class Block {
|
|
|
|
private short type;
|
|
|
|
public Block(short type) {
|
|
this.type = type;
|
|
}
|
|
|
|
public short getType() {
|
|
return type;
|
|
}
|
|
|
|
public void setType(short type) {
|
|
this.type = type;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return String.format("CustomBlock{type=%s}", type);
|
|
}
|
|
}
|