Moved all the machines to the new way of handling the packets
This commit is contained in:
parent
0f321e2426
commit
edabf79b1e
9 changed files with 33 additions and 21 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue