Added full tile entity data support for all block types that use it, including chests, dispensers, furnaces, mob spawners, and note blocks.

This commit is contained in:
sk89q
2011-01-23 00:37:10 -08:00
parent e0b04001aa
commit 9cd81ddd6d
7 changed files with 335 additions and 0 deletions

View File

@@ -288,6 +288,17 @@ public class CraftBlock implements Block {
case SIGN_POST:
case WALL_SIGN:
return new CraftSign(this);
case CHEST:
return new CraftChest(this);
case BURNING_FURNACE:
case FURNACE:
return new CraftFurnace(this);
case DISPENSER:
return new CraftDispenser(this);
case MOB_SPAWNER:
return new CraftMobSpawner(this);
case NOTE_BLOCK:
return new CraftNoteBlock(this);
default:
return new CraftBlockState(this);
}