mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-20 04:09:40 +00:00
Added the vanilla Coarse Dirt to the botania creative tab, because ya know, it's craftable with botania and stuff.
This commit is contained in:
1 parent
85d2e7d396
commit
437f88f57a
1 file changed
+6
@@ -14,6 +14,7 @@ import java.util.List;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.creativetab.CreativeTabs;
|
||||
import net.minecraft.init.Blocks;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import vazkii.botania.client.lib.LibResources;
|
||||
@@ -272,6 +273,7 @@ public final class BotaniaCreativeTab extends CreativeTabs {
|
||||
addBlock(ModBlocks.manaBeacon);
|
||||
addItem(ModItems.signalFlare);
|
||||
|
||||
addStack(new ItemStack(Blocks.dirt, 1, 1));
|
||||
addBlock(ModBlocks.dirtPath);
|
||||
addBlock(ModFluffBlocks.dirtPathSlab);
|
||||
|
||||
@@ -381,5 +383,9 @@ public final class BotaniaCreativeTab extends CreativeTabs {
|
||||
ItemStack stack = new ItemStack(block);
|
||||
block.getSubBlocks(stack.getItem(), this, list);
|
||||
}
|
||||
|
||||
private void addStack(ItemStack stack) {
|
||||
list.add(stack);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user