Some small tweaks
This commit is contained in:
parent
dfb7d0afd4
commit
877308a75c
3 changed files with 32 additions and 20 deletions
|
@ -7,6 +7,8 @@ import techreborn.lib.Reference;
|
|||
public class CentrifugeRecipe extends BaseRecipe
|
||||
{
|
||||
|
||||
boolean useOreDic = false;
|
||||
|
||||
public CentrifugeRecipe(ItemStack input1, ItemStack input2, ItemStack output1, ItemStack output2, ItemStack output3,
|
||||
ItemStack output4, int tickTime, int euPerTick)
|
||||
{
|
||||
|
@ -25,9 +27,21 @@ public class CentrifugeRecipe extends BaseRecipe
|
|||
addOutput(output4);
|
||||
}
|
||||
|
||||
public CentrifugeRecipe(ItemStack input1, ItemStack input2, ItemStack output1, ItemStack output2, ItemStack output3,
|
||||
ItemStack output4, int tickTime, int euPerTick, boolean useOreDic)
|
||||
{
|
||||
this(input1, input2, output1, output2, output3, output4, tickTime, euPerTick);
|
||||
this.useOreDic = useOreDic;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getUserFreindlyName()
|
||||
{
|
||||
return "Centrifuge";
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean useOreDic() {
|
||||
return useOreDic;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,7 +5,6 @@ import net.minecraft.inventory.ICrafting;
|
|||
import net.minecraft.inventory.Slot;
|
||||
import net.minecraftforge.fml.relauncher.Side;
|
||||
import net.minecraftforge.fml.relauncher.SideOnly;
|
||||
import reborncore.client.gui.SlotCharge;
|
||||
import reborncore.common.container.RebornContainer;
|
||||
import techreborn.tiles.storage.TileBatBox;
|
||||
|
||||
|
@ -40,8 +39,8 @@ public class ContainerBatbox extends RebornContainer
|
|||
this.addSlotToContainer(new Slot(player.inventory, i, 8 + i * 18, 142));
|
||||
}
|
||||
|
||||
this.addSlotToContainer(new SlotCharge(tile.inventory, 0, 80, 17));
|
||||
this.addSlotToContainer(new SlotCharge(tile.inventory, 1, 80, 53));
|
||||
// this.addSlotToContainer(new SlotCharge(tile.inventory, 0, 80, 17));
|
||||
// this.addSlotToContainer(new SlotCharge(tile.inventory, 1, 80, 53));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -7,7 +7,6 @@ import net.minecraft.inventory.Slot;
|
|||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraftforge.fml.relauncher.Side;
|
||||
import net.minecraftforge.fml.relauncher.SideOnly;
|
||||
import reborncore.client.gui.SlotCharge;
|
||||
import reborncore.common.container.RebornContainer;
|
||||
import techreborn.tiles.storage.TileMFSU;
|
||||
|
||||
|
@ -55,8 +54,8 @@ public class ContainerMFSU extends RebornContainer
|
|||
}
|
||||
});
|
||||
}
|
||||
this.addSlotToContainer(new SlotCharge(tile.inventory, 0, 80, 17));
|
||||
this.addSlotToContainer(new SlotCharge(tile.inventory, 1, 80, 53));
|
||||
// this.addSlotToContainer(new SlotCharge(tile.inventory, 0, 80, 17));
|
||||
// this.addSlotToContainer(new SlotCharge(tile.inventory, 1, 80, 53));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Reference in a new issue