Close #1154 add dungeon loot

This commit is contained in:
mezz committed 2016-05-13 01:50:49 -07:00
1 parent 4cf74e4aa1
commit 9d9ea95ed1
28 files changed
+924 -69

No files matched your search

@@ -322,11 +322,19 @@ public class BlockCandle extends BlockTorch implements IItemModelRegister, ITile
}
public ItemStack getUnlitCandle(int amount) {
return new ItemStack(this, amount, 0);
ItemStack itemStack = new ItemStack(this, amount, 0);
NBTTagCompound tag = new NBTTagCompound();
tag.setInteger(BlockCandle.colourTagName, 0xffffff);
itemStack.setTagCompound(tag);
return itemStack;
}
public ItemStack getLitCandle(int amount) {
return new ItemStack(this, amount, 1);
ItemStack itemStack = new ItemStack(this, amount, 1);
NBTTagCompound tag = new NBTTagCompound();
tag.setInteger(BlockCandle.colourTagName, 0xffffff);
itemStack.setTagCompound(tag);
return itemStack;
}
@Override