Pedestal column state, fabric dependency update
This commit is contained in:
parent
4ddeb92680
commit
105e22dda3
11 changed files with 241 additions and 81 deletions
|
@ -6,7 +6,7 @@ import net.minecraft.util.StringIdentifiable;
|
|||
|
||||
public class BlockProperties {
|
||||
public static final EnumProperty<TripleShape> TRIPLE_SHAPE = EnumProperty.of("shape", TripleShape.class);
|
||||
public final static EnumProperty<State> STATE = EnumProperty.of("state", State.class);
|
||||
public final static EnumProperty<PedestalState> PEDESTAL_STATE = EnumProperty.of("state", PedestalState.class);
|
||||
public static final BooleanProperty HAS_ITEM = BooleanProperty.of("has_item");
|
||||
public static final BooleanProperty ACTIVATED = BooleanProperty.of("active");
|
||||
|
||||
|
@ -32,15 +32,22 @@ public class BlockProperties {
|
|||
}
|
||||
}
|
||||
|
||||
public static enum State implements StringIdentifiable {
|
||||
DEFAULT,
|
||||
public static enum PedestalState implements StringIdentifiable {
|
||||
PEDESTAL_TOP,
|
||||
COLUMN_TOP,
|
||||
BOTTOM,
|
||||
TOP,
|
||||
PILLAR;
|
||||
PILLAR,
|
||||
COLUMN,
|
||||
DEFAULT;
|
||||
|
||||
@Override
|
||||
public String asString() {
|
||||
return this.name().toLowerCase();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return this.asString();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue