@@ -99,7 +99,7 @@ abstract class Block extends Position implements Metadatable{
9999 const OBSIDIAN = 49 ;
100100 const TORCH = 50 ;
101101 const FIRE = 51 ;
102-
102+ const MONSTER_SPAWNER = 52 ;
103103 const WOOD_STAIRS = 53 ;
104104 const WOODEN_STAIRS = 53 ;
105105 const OAK_WOOD_STAIRS = 53 ;
@@ -168,12 +168,16 @@ abstract class Block extends Position implements Metadatable{
168168 const FENCE_GATE = 107 ;
169169 const BRICK_STAIRS = 108 ;
170170 const STONE_BRICK_STAIRS = 109 ;
171+ const MYCELIUM = 110 ;
171172
172173 const NETHER_BRICKS = 112 ;
173174 const NETHER_BRICK_BLOCK = 112 ;
174175
175176 const NETHER_BRICKS_STAIRS = 114 ;
176177
178+ const END_PORTAL = 120 ;
179+ const END_STONE = 121 ;
180+
177181 const SANDSTONE_STAIRS = 128 ;
178182 const EMERALD_ORE = 129 ;
179183
@@ -220,6 +224,7 @@ abstract class Block extends Position implements Metadatable{
220224 const HARDENED_CLAY = 172 ;
221225 const COAL_BLOCK = 173 ;
222226
227+ const PODZOL = 243 ;
223228 const BEETROOT_BLOCK = 244 ;
224229 const STONECUTTER = 245 ;
225230 const GLOWING_OBSIDIAN = 246 ;
@@ -249,9 +254,9 @@ abstract class Block extends Position implements Metadatable{
249254 [Item::STONE , 5 ],
250255 [Item::STONE , 6 ],
251256 [Item::DIRT , 0 ],
252- //TODO: PODZOL
257+ [Item:: PODZOL , 0 ],
253258 [Item::GRASS , 0 ],
254- //TODO: MYCELIUM
259+ [Item:: MYCELIUM , 0 ],
255260 [Item::CLAY_BLOCK , 0 ],
256261 [Item::HARDENED_CLAY , 0 ],
257262 [Item::STAINED_CLAY , 0 ],
@@ -322,7 +327,7 @@ abstract class Block extends Position implements Metadatable{
322327 [Item::OBSIDIAN , 0 ],
323328 [Item::ICE , 0 ],
324329 [Item::SNOW_BLOCK , 0 ],
325- //TODO: ENDSTONE
330+ [Item:: END_STONE , 0 ],
326331
327332 //Decoration
328333 [Item::COBBLESTONE_WALL , 0 ],
@@ -355,6 +360,7 @@ abstract class Block extends Position implements Metadatable{
355360 [Item::CHEST , 0 ],
356361 [Item::FURNACE , 0 ],
357362 //TODO: End Portal
363+ [Item::END_PORTAL , 0 ],
358364 [Item::DANDELION , 0 ],
359365 [Item::POPPY , 0 ],
360366 //TODO: blue orchid
@@ -400,7 +406,7 @@ abstract class Block extends Position implements Metadatable{
400406 [Item::LEAVES2 , 1 ],
401407 [Item::CAKE , 0 ],
402408 [Item::SIGN , 0 ],
403- //TODO: Monster Spawner
409+ [Item:: MONSTER_SPAWNER , 0 ],
404410 [Item::WOOL , 0 ],
405411 [Item::WOOL , 7 ],
406412 [Item::WOOL , 6 ],
@@ -565,7 +571,7 @@ public static function init(){
565571 self ::OBSIDIAN => new Obsidian (),
566572 self ::TORCH => new Torch (),
567573 self ::FIRE => new Fire (),
568-
574+ self :: MONSTER_SPAWNER => new MonsterSpawner (),
569575 self ::WOOD_STAIRS => new WoodStairs (),
570576 self ::CHEST => new Chest (),
571577
@@ -617,10 +623,13 @@ public static function init(){
617623 self ::BRICK_STAIRS => new BrickStairs (),
618624 self ::STONE_BRICK_STAIRS => new StoneBrickStairs (),
619625
626+ self ::MYCELIUM => new Mycelium (),
620627 self ::NETHER_BRICKS => new NetherBrick (),
621628
622629 self ::NETHER_BRICKS_STAIRS => new NetherBrickStairs (),
623630
631+ self ::END_PORTAL => new EndPortal (),
632+ self ::END_STONE => new EndStone (),
624633 self ::SANDSTONE_STAIRS => new SandstoneStairs (),
625634 self ::EMERALD_ORE => new EmeraldOre (),
626635
@@ -649,6 +658,7 @@ public static function init(){
649658 self ::HARDENED_CLAY => new HardenedClay (),
650659 self ::COAL_BLOCK => new Coal (),
651660
661+ self ::PODZOL => new Podzol (),
652662 self ::BEETROOT_BLOCK => new Beetroot (),
653663 self ::STONECUTTER => new Stonecutter (),
654664 self ::GLOWING_OBSIDIAN => new GlowingObsidian (),
@@ -893,4 +903,4 @@ public function removeMetadata($metadataKey, Plugin $plugin){
893903 $ this ->getLevel ()->getBlockMetadata ()->removeMetadata ($ this , $ metadataKey , $ plugin );
894904 }
895905 }
896- }
906+ }
0 commit comments