Added 1.4 blocks to BlockProperties (roughly).

This commit is contained in:
asofold 2012-10-28 05:47:59 +01:00
parent 9d046d3298
commit 5700dda2fa

View File

@ -237,6 +237,12 @@ public class BlockProperties {
Material.DEAD_BUSH, Material.DEAD_BUSH,
// //
Material.CROPS, Material.CROPS,
// 1.4
Material.COMMAND,
Material.FLOWER_POT,
Material.CARROT,
Material.POTATO,
}; };
private static final PlayerLocation pLoc = new PlayerLocation(); private static final PlayerLocation pLoc = new PlayerLocation();
@ -488,6 +494,14 @@ public class BlockProperties {
blocks[Material.ENDER_CHEST.getId()] = new BlockProps(woodPickaxe, 22.5f); blocks[Material.ENDER_CHEST.getId()] = new BlockProps(woodPickaxe, 22.5f);
blocks[Material.OBSIDIAN.getId()] = new BlockProps(diamondPickaxe, 50, secToMs(250, 250, 250, 250, 9.4, 250)); blocks[Material.OBSIDIAN.getId()] = new BlockProps(diamondPickaxe, 50, secToMs(250, 250, 250, 250, 9.4, 250));
// More 1.4 (not insta).
blocks[Material.BEACON.getId()] = new BlockProps(noTool, 25f, secToMs(4.45)); // TODO
blocks[Material.COBBLE_WALL.getId()] = brickType;
blocks[Material.WOOD_BUTTON.getId()] = leverType;
blocks[Material.SKULL.getId()] = new BlockProps(noTool, 8.5f, secToMs(1.45)); // TODO
blocks[Material.ANVIL.getId()] = new BlockProps(woodPickaxe, 5f); // TODO
// Indestructible.
for (Material mat : new Material[]{ for (Material mat : new Material[]{
Material.AIR, Material.ENDER_PORTAL, Material.ENDER_PORTAL_FRAME, Material.AIR, Material.ENDER_PORTAL, Material.ENDER_PORTAL_FRAME,
Material.PORTAL, Material.LAVA, Material.WATER, Material.BEDROCK, Material.PORTAL, Material.LAVA, Material.WATER, Material.BEDROCK,