Infusion pedestal (WIP), fix for #11

This commit is contained in:
Aleksey 2020-11-05 22:51:36 +03:00
parent 70f5e3e024
commit 36fa1ade9d
20 changed files with 220 additions and 21 deletions

View file

@ -33,21 +33,27 @@ public class BlockProperties {
}
public static enum PedestalState implements StringIdentifiable {
PEDESTAL_TOP,
COLUMN_TOP,
BOTTOM,
PILLAR,
COLUMN,
DEFAULT;
PEDESTAL_TOP("pedestal_top"),
COLUMN_TOP("column_top"),
BOTTOM("bottom"),
PILLAR("pillar"),
COLUMN("column"),
DEFAULT("default");
private final String name;
PedestalState(String name) {
this.name = name;
}
@Override
public String asString() {
return this.name().toLowerCase();
return this.name;
}
@Override
public String toString() {
return this.asString();
return this.name;
}
}
}