Updated block information database.

This commit is contained in:
sk89q 2012-10-28 20:49:26 -07:00
parent 74c456079a
commit ff0dd68a86

View File

@ -326,6 +326,11 @@ public enum BlockType {
shouldPlaceLast.add(BlockID.COCOA_PLANT);
shouldPlaceLast.add(BlockID.TRIPWIRE_HOOK);
shouldPlaceLast.add(BlockID.TRIPWIRE);
shouldPlaceLast.add(BlockID.FLOWER_POT);
shouldPlaceLast.add(BlockID.CARROTS);
shouldPlaceLast.add(BlockID.POTATOES);
shouldPlaceLast.add(BlockID.WOODEN_BUTTON);
shouldPlaceLast.add(BlockID.HEAD);
}
/**
@ -419,6 +424,11 @@ public enum BlockType {
canPassThrough.add(BlockID.END_PORTAL);
canPassThrough.add(BlockID.TRIPWIRE_HOOK);
canPassThrough.add(BlockID.TRIPWIRE);
canPassThrough.add(BlockID.FLOWER_POT);
canPassThrough.add(BlockID.CARROTS);
canPassThrough.add(BlockID.POTATOES);
canPassThrough.add(BlockID.WOODEN_BUTTON);
canPassThrough.add(BlockID.HEAD);
}
/**
@ -581,6 +591,13 @@ public enum BlockType {
usesData.add(BlockID.SPRUCE_WOOD_STAIRS);
usesData.add(BlockID.BIRCH_WOOD_STAIRS);
usesData.add(BlockID.JUNGLE_WOOD_STAIRS);
usesData.add(BlockID.COBBLESTONE_WALL);
usesData.add(BlockID.FLOWER_POT);
usesData.add(BlockID.CARROTS);
usesData.add(BlockID.POTATOES);
usesData.add(BlockID.WOODEN_BUTTON);
usesData.add(BlockID.HEAD);
usesData.add(BlockID.ANVIL);
}
/**
@ -658,6 +675,8 @@ public enum BlockType {
isRedstoneBlock.add(BlockID.REDSTONE_REPEATER_OFF);
isRedstoneBlock.add(BlockID.REDSTONE_REPEATER_ON);
isRedstoneBlock.add(BlockID.TRIPWIRE_HOOK);
isRedstoneBlock.add(BlockID.COMMAND_BLOCK);
isRedstoneBlock.add(BlockID.WOODEN_BUTTON);
}
/**
@ -725,6 +744,7 @@ public enum BlockType {
isRedstoneSource.add(BlockID.WOODEN_PRESSURE_PLATE);
isRedstoneSource.add(BlockID.STONE_BUTTON);
isRedstoneSource.add(BlockID.TRIPWIRE_HOOK);
isRedstoneSource.add(BlockID.WOODEN_BUTTON);
}
/**
@ -940,6 +960,13 @@ public enum BlockType {
isTranslucent.add(BlockID.SPRUCE_WOOD_STAIRS);
isTranslucent.add(BlockID.BIRCH_WOOD_STAIRS);
isTranslucent.add(BlockID.JUNGLE_WOOD_STAIRS);
isTranslucent.add(BlockID.COBBLESTONE_WALL);
isTranslucent.add(BlockID.FLOWER_POT);
isTranslucent.add(BlockID.CARROTS);
isTranslucent.add(BlockID.POTATOES);
isTranslucent.add(BlockID.WOODEN_BUTTON);
isTranslucent.add(BlockID.HEAD);
isTranslucent.add(BlockID.ANVIL);
}
/**