Created
July 18, 2016 11:59
-
-
Save dazsim/b4800c1ed86a740278ba1f6597ea83e9 to your computer and use it in GitHub Desktop.
snippet create barrel with no comparator or item frame
This file contains 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 characters
NBTTagCompound n = new NBTTagCompound(); | |
n.setBoolean("frame", true); | |
n.setBoolean("comp", true); | |
i.setTagCompound(n); | |
GameRegistry.addRecipe(i, new Object[]{ | |
"WIW", | |
" C ", | |
"WIW", | |
'W',new ItemStack(Blocks.PLANKS,1,0),'C',Blocks.CHEST,'R',Items.COMPARATOR,'F',Items.ITEM_FRAME, 'I',Items.IRON_INGOT | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment