mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-19 19:49:50 +00:00
Filter-based replacing works! Now to get the require system to work and the warning system set up.
This commit is contained in:
1 parent
ad505cf882
commit
fe177d20c7
5 files changed
+52
-127
No files matched your search
@@ -280,11 +280,6 @@ public class ItemBlockMachine extends ItemBlock implements IEnergizedItem, ISpec
|
||||
miner.silkTouch = stack.stackTagCompound.getBoolean("silkTouch");
|
||||
miner.inverse = stack.stackTagCompound.getBoolean("inverse");
|
||||
|
||||
if(stack.stackTagCompound.hasKey("replaceStack"))
|
||||
{
|
||||
miner.replaceStack = ItemStack.loadItemStackFromNBT(stack.stackTagCompound.getCompoundTag("replaceStack"));
|
||||
}
|
||||
|
||||
if(stack.stackTagCompound.hasKey("filters"))
|
||||
{
|
||||
NBTTagList tagList = stack.stackTagCompound.getTagList("filters", NBT.TAG_COMPOUND);
|
||||
|
||||
Reference in new issue
Block a user