// Path: src/main/java/org/cyclops/integratedtunnels/RegistryEntries.java
// public class RegistryEntries {
// 
//     @ObjectHolder("integratedtunnels:part_interface_item")
//     public static final Item ITEM_PART_INTERFACE = null;
//     @ObjectHolder("integratedtunnels:dummy_pickaxe")
//     public static final Item ITEM_DUMMY_PICKAXE = null;
// 
//     @ObjectHolder("integratedtunnels:part_interface_settings")
//     public static final ContainerType<ContainerInterfaceSettings> CONTAINER_INTERFACE_SETTINGS = null;
// 
// }


import net.minecraft.entity.player.PlayerInventory;
import net.minecraft.inventory.IInventory;
import net.minecraft.inventory.Inventory;
import net.minecraft.network.PacketBuffer;
import org.cyclops.cyclopscore.helper.ValueNotifierHelpers;
import org.cyclops.integrateddynamics.api.part.IPartContainer;
import org.cyclops.integrateddynamics.api.part.IPartType;
import org.cyclops.integrateddynamics.api.part.PartTarget;
import org.cyclops.integrateddynamics.core.helper.PartHelpers;
import org.cyclops.integrateddynamics.core.inventory.container.ContainerPartSettings;
import org.cyclops.integratedtunnels.RegistryEntries;
import java.util.Optional;
package org.cyclops.integratedtunnels.core.part;



/**
 * @author rubensworks
 */
public class ContainerInterfaceSettings extends ContainerPartSettings {

    private final int lastChannelInterfaceValueId;

    public ContainerInterfaceSettings(int id, PlayerInventory playerInventory, PacketBuffer packetBuffer) {
        this(id, playerInventory, new Inventory(0), PartHelpers.readPartTarget(packetBuffer), Optional.empty(), PartHelpers.readPart(packetBuffer));
    }

    public ContainerInterfaceSettings(int id, PlayerInventory playerInventory, IInventory inventory,
                                      PartTarget target, Optional<IPartContainer> partContainer, IPartType partType) {
// Path: src/main/java/org/cyclops/integratedtunnels/RegistryEntries.java
// public class RegistryEntries {
// 
//     @ObjectHolder("integratedtunnels:part_interface_item")
//     public static final Item ITEM_PART_INTERFACE = null;
//     @ObjectHolder("integratedtunnels:dummy_pickaxe")
//     public static final Item ITEM_DUMMY_PICKAXE = null;
// 
//     @ObjectHolder("integratedtunnels:part_interface_settings")
//     public static final ContainerType<ContainerInterfaceSettings> CONTAINER_INTERFACE_SETTINGS = null;
// 
// }


// Path: src/main/java/org/cyclops/integratedtunnels/core/part/ContainerInterfaceSettings.java
import net.minecraft.entity.player.PlayerInventory;
import net.minecraft.inventory.IInventory;
import net.minecraft.inventory.Inventory;
import net.minecraft.network.PacketBuffer;
import org.cyclops.cyclopscore.helper.ValueNotifierHelpers;
import org.cyclops.integrateddynamics.api.part.IPartContainer;
import org.cyclops.integrateddynamics.api.part.IPartType;
import org.cyclops.integrateddynamics.api.part.PartTarget;
import org.cyclops.integrateddynamics.core.helper.PartHelpers;
import org.cyclops.integrateddynamics.core.inventory.container.ContainerPartSettings;
import org.cyclops.integratedtunnels.RegistryEntries;
import java.util.Optional;

package org.cyclops.integratedtunnels.core.part;



/**
 * @author rubensworks
 */
public class ContainerInterfaceSettings extends ContainerPartSettings {

    private final int lastChannelInterfaceValueId;

    public ContainerInterfaceSettings(int id, PlayerInventory playerInventory, PacketBuffer packetBuffer) {
        this(id, playerInventory, new Inventory(0), PartHelpers.readPartTarget(packetBuffer), Optional.empty(), PartHelpers.readPart(packetBuffer));
    }

    public ContainerInterfaceSettings(int id, PlayerInventory playerInventory, IInventory inventory,
                                      PartTarget target, Optional<IPartContainer> partContainer, IPartType partType) {
        super(RegistryEntries.CONTAINER_INTERFACE_SETTINGS, id, playerInventory, inventory, target, partContainer, partType);