добавлено несколько типов блоков
This commit is contained in:
@@ -10,11 +10,21 @@ import java.util.stream.Stream;
|
|||||||
public enum BlockType {
|
public enum BlockType {
|
||||||
AIR(0, 0),
|
AIR(0, 0),
|
||||||
STONE(1, 0),
|
STONE(1, 0),
|
||||||
|
GRANITE(1, 1),
|
||||||
|
DIORITE(1, 3),
|
||||||
|
ANDESITE(1, 5),
|
||||||
GRASS(2, 0),
|
GRASS(2, 0),
|
||||||
DIRT(3, 0),
|
DIRT(3, 0),
|
||||||
BEDROCK(7, 0),
|
BEDROCK(7, 0),
|
||||||
WATER(9, 0),
|
WATER(9, 0),
|
||||||
|
LAVA(11, 0),
|
||||||
SAND(12, 0),
|
SAND(12, 0),
|
||||||
|
GOLD_ORE(14, 0),
|
||||||
|
IRON_ORE(15, 0),
|
||||||
|
COAL_ORE(16, 0),
|
||||||
|
LAPIS_ORE(21, 0),
|
||||||
|
DIAMOND_ORE(56, 0),
|
||||||
|
REDSTONE_ORE(73, 0),
|
||||||
SNOW(78, 0);
|
SNOW(78, 0);
|
||||||
|
|
||||||
public static BlockType getByIdMeta(int id, int meta) {
|
public static BlockType getByIdMeta(int id, int meta) {
|
||||||
|
|||||||
Reference in New Issue
Block a user