u24
This commit is contained in:
parent
401ebe2324
commit
573420e1b8
613 changed files with 5708 additions and 4445 deletions
|
|
@ -93,8 +93,9 @@ public abstract class BlockWoodSlab extends BlockSlab {
|
|||
*/
|
||||
public void getSubBlocks(Item item, CreativeTabs var2, List<ItemStack> list) {
|
||||
if (item != Item.getItemFromBlock(Blocks.double_wooden_slab)) {
|
||||
for (BlockPlanks.EnumType blockplanks$enumtype : BlockPlanks.EnumType.values()) {
|
||||
list.add(new ItemStack(item, 1, blockplanks$enumtype.getMetadata()));
|
||||
BlockPlanks.EnumType[] types = BlockPlanks.EnumType.META_LOOKUP;
|
||||
for (int i = 0; i < types.length; ++i) {
|
||||
list.add(new ItemStack(item, 1, types[i].getMetadata()));
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue