Blue vine
This commit is contained in:
parent
62947e9fc1
commit
a968b9bb23
38 changed files with 722 additions and 20 deletions
30
src/main/java/ru/betterend/blocks/BlockProperties.java
Normal file
30
src/main/java/ru/betterend/blocks/BlockProperties.java
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue