Move assemblingmachine and centrifuge to the new system
This commit is contained in:
parent
8c49a27b76
commit
912eced5e5
7 changed files with 122 additions and 46 deletions
|
@ -5,7 +5,9 @@ import net.minecraft.client.renderer.GlStateManager;
|
|||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.util.ResourceLocation;
|
||||
import net.minecraft.util.text.translation.I18n;
|
||||
import reborncore.common.container.RebornContainer;
|
||||
import techreborn.client.container.ContainerAssemblingMachine;
|
||||
import techreborn.client.container.ContainerGrinder;
|
||||
import techreborn.tiles.TileAssemblingMachine;
|
||||
|
||||
public class GuiAssemblingMachine extends GuiContainer
|
||||
|
@ -19,7 +21,7 @@ public class GuiAssemblingMachine extends GuiContainer
|
|||
|
||||
public GuiAssemblingMachine(EntityPlayer player, TileAssemblingMachine tileassemblinmachine)
|
||||
{
|
||||
super(new ContainerAssemblingMachine(tileassemblinmachine, player));
|
||||
super(RebornContainer.createContainer(ContainerAssemblingMachine.class, tileassemblinmachine, player));
|
||||
containerAssemblingMachine = (ContainerAssemblingMachine) this.inventorySlots;
|
||||
this.xSize = 176;
|
||||
this.ySize = 167;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue