Blue vine

This commit is contained in:
paulevsGitch 2020-10-03 20:18:42 +03:00
parent 62947e9fc1
commit a968b9bb23
38 changed files with 722 additions and 20 deletions

View file

@ -0,0 +1,30 @@
package ru.betterend.blocks;
import net.minecraft.state.property.EnumProperty;
import net.minecraft.util.StringIdentifiable;
public class BlockProperties {
public static final EnumProperty<TripleShape> TRIPLE_SHAPE = EnumProperty.of("shape", TripleShape.class);
public static enum TripleShape implements StringIdentifiable {
TOP("top"),
MIDDLE("middle"),
BOTTOM("bottom");
private final String name;
TripleShape(String name) {
this.name = name;
}
@Override
public String asString() {
return name;
}
@Override
public String toString() {
return name;
}
}
}