Moved all the machines to the new way of handling the packets

This commit is contained in:
modmuss50 2015-05-30 11:14:00 +01:00
parent 0f321e2426
commit edabf79b1e
9 changed files with 33 additions and 21 deletions

View file

@ -5,7 +5,7 @@ import net.minecraft.inventory.Slot;
import techreborn.client.SlotOutput;
import techreborn.tiles.TileAssemblingMachine;
public class ContainerAssemblingMachine extends TechRebornContainer {
public class ContainerAssemblingMachine extends ContainerCrafting {
EntityPlayer player;
@ -22,6 +22,7 @@ public class ContainerAssemblingMachine extends TechRebornContainer {
public ContainerAssemblingMachine(TileAssemblingMachine tileAssemblingMachine,
EntityPlayer player)
{
super(tileAssemblingMachine.crafter);
tile = tileAssemblingMachine;
this.player = player;

View file

@ -5,7 +5,7 @@ import net.minecraft.inventory.Slot;
import techreborn.client.SlotOutput;
import techreborn.tiles.TileChemicalReactor;
public class ContainerChemicalReactor extends TechRebornContainer {
public class ContainerChemicalReactor extends ContainerCrafting {
EntityPlayer player;
@ -22,6 +22,7 @@ public class ContainerChemicalReactor extends TechRebornContainer {
public ContainerChemicalReactor(TileChemicalReactor tilechemicalReactor,
EntityPlayer player)
{
super(tilechemicalReactor.crafter);
tile = tilechemicalReactor;
this.player = player;

View file

@ -5,7 +5,7 @@ import net.minecraft.inventory.Slot;
import techreborn.client.SlotOutput;
import techreborn.tiles.TileLathe;
public class ContainerLathe extends TechRebornContainer {
public class ContainerLathe extends ContainerCrafting {
EntityPlayer player;
@ -22,6 +22,7 @@ public class ContainerLathe extends TechRebornContainer {
public ContainerLathe(TileLathe tilelathe,
EntityPlayer player)
{
super(tilelathe.crafter);
tile = tilelathe;
this.player = player;

View file

@ -5,7 +5,7 @@ import net.minecraft.inventory.Slot;
import techreborn.client.SlotOutput;
import techreborn.tiles.TilePlateCuttingMachine;
public class ContainerPlateCuttingMachine extends TechRebornContainer {
public class ContainerPlateCuttingMachine extends ContainerCrafting {
EntityPlayer player;
@ -22,6 +22,7 @@ public class ContainerPlateCuttingMachine extends TechRebornContainer {
public ContainerPlateCuttingMachine(TilePlateCuttingMachine tileplatecuttingmachine,
EntityPlayer player)
{
super(tileplatecuttingmachine.crafter);
platecuttingmachine = tileplatecuttingmachine;
this.player = player;