All GUI compile errors fixed, switched to excludes over includes in gradle build and lots, LOTS of more fixes.
This commit is contained in:
@@ -19,11 +19,16 @@
|
||||
package appeng.fluids.container;
|
||||
|
||||
|
||||
import appeng.api.config.SecurityPermissions;
|
||||
import appeng.container.ContainerLocator;
|
||||
import appeng.container.helper.PartContainerHelper;
|
||||
import net.minecraft.entity.player.PlayerEntity;
|
||||
import net.minecraft.entity.player.PlayerInventory;
|
||||
|
||||
import appeng.fluids.parts.PartSharedFluidBus;
|
||||
import appeng.fluids.util.IAEFluidTank;
|
||||
import net.minecraft.inventory.container.ContainerType;
|
||||
import net.minecraft.network.PacketBuffer;
|
||||
|
||||
|
||||
/**
|
||||
@@ -33,11 +38,25 @@ import net.minecraft.inventory.container.ContainerType;
|
||||
*/
|
||||
public class ContainerFluidIO extends ContainerFluidConfigurable
|
||||
{
|
||||
|
||||
public static ContainerType<ContainerFluidIO> TYPE;
|
||||
|
||||
private static final PartContainerHelper<ContainerFluidIO, PartSharedFluidBus> helper
|
||||
= new PartContainerHelper<>(ContainerFluidIO::new, PartSharedFluidBus.class, SecurityPermissions.BUILD);
|
||||
|
||||
public static ContainerFluidIO fromNetwork(int windowId, PlayerInventory inv, PacketBuffer buf) {
|
||||
return helper.fromNetwork(windowId, inv, buf);
|
||||
}
|
||||
|
||||
public static boolean open(PlayerEntity player, ContainerLocator locator) {
|
||||
return helper.open(player, locator);
|
||||
}
|
||||
|
||||
private final PartSharedFluidBus bus;
|
||||
|
||||
public ContainerFluidIO(ContainerType<?> containerType, int id, PlayerInventory ip, PartSharedFluidBus te )
|
||||
public ContainerFluidIO(int id, PlayerInventory ip, PartSharedFluidBus te )
|
||||
{
|
||||
super( containerType, id,ip, te );
|
||||
super( TYPE, id,ip, te );
|
||||
this.bus = te;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user