Last active
December 20, 2015 00:59
-
-
Save ft975/6045813 to your computer and use it in GitHub Desktop.
Revisions
-
ft975 revised this gist
Jul 20, 2013 . 2 changed files with 9 additions and 8 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ CreativeTabs creativeTabLamp = new CreativeTabs("ftLighting") { { LanguageRegistry.instance.addStringLocalization("itemGroup.ftLighting", "en_US", "Lighting"); ItemStack icon = ItemLamp.buildStack(0, Colors.Magenta, Shapes.Block, isOn = true); } public ItemStack getIconItemStack(){return icon;} } blockLamp.setCreativeTab(creativeTabLamp); This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,8 +0,0 @@ -
ft975 created this gist
Jul 20, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ val creativeTabLamp = new CreativeTabs("ftLighting") { LanguageRegistry.instance.addStringLocalization("itemGroup.ftLighting", "en_US", "Lighting") val icon = ItemLamp.buildStack(0, Colors.Magenta, Shapes.Block, isOn = true) override def getIconItemStack = icon } blockLamp.setCreativeTab(creativeTabLamp)