3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-08 04:20:06 +01:00

Updated WorldEdit for the new block types.

Dieser Commit ist enthalten in:
sk89q 2010-10-30 19:40:36 -07:00
Ursprung 3da43563c9
Commit e81ffc2ad5
2 geänderte Dateien mit 9 neuen und 3 gelöschten Zeilen

Datei anzeigen

@ -53,7 +53,7 @@ public class WorldEdit {
private final static Integer[] DEFAULT_ALLOWED_BLOCKS = { private final static Integer[] DEFAULT_ALLOWED_BLOCKS = {
0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
20, 35, 41, 42, 43, 44, 45, 47, 48, 49, 52, 53, 54, 56, 57, 58, 60, 20, 35, 41, 42, 43, 44, 45, 47, 48, 49, 52, 53, 54, 56, 57, 58, 60,
61, 62, 67, 73, 78, 79, 80, 82, 85 61, 62, 67, 73, 78, 79, 80, 82, 85, 86, 87, 88, 89, 91
}; };
/** /**

Datei anzeigen

@ -95,12 +95,18 @@ public enum BlockType {
STONE_BUTTON(77, "Stone Button", "stonebutton"), STONE_BUTTON(77, "Stone Button", "stonebutton"),
SNOW(78, "Snow", "snow"), SNOW(78, "Snow", "snow"),
ICE(79, "Ice", "ice"), ICE(79, "Ice", "ice"),
SNOW_BLOCK(80, "Snow Block", "snowblock"), SNOW_BLOCK(80, "Snow block", "snowblock"),
CACTUS(81, "Cactus", "cactus"), CACTUS(81, "Cactus", "cactus"),
CLAY(82, "Clay", "clay"), CLAY(82, "Clay", "clay"),
REED(83, "Reed", "reed"), REED(83, "Reed", "reed"),
JUKEBOX(84, "Jukebox", "jukebox"), JUKEBOX(84, "Jukebox", "jukebox"),
FENCE(85, "Fence", "fence"); FENCE(85, "Fence", "fence"),
PUMPKIN(86, "Pumpkin", "pumpkin"),
RED_BLOCK(87, "Cobblestone (red mossy)", new String[]{"redmossycobblestone", "redcobblestone"}),
HELL_DIRT(88, "Mud", "mud"),
HELL_GOLD(89, "Brittle gold", "brittlegold"),
PORTAL(90, "Portal", "portal"),
LIGHTED_PUMPKIN(91, "Pumpkin (on)", new String[]{"pumpkinlighted", "pumpkinon", "litpumpkin"});
/** /**
* Stores a map of the IDs for fast access. * Stores a map of the IDs for fast access.