// Path: src/main/java/org/cyclops/integratedtunnels/core/part/ContainerInterfaceSettings.java
// 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);
//         lastChannelInterfaceValueId = getNextValueId();
//     }
// 
//     @Override
//     protected int getPlayerInventoryOffsetY() {
//         return 134;
//     }
// 
//     @Override
//     protected void initializeValues() {
//         super.initializeValues();
//         ValueNotifierHelpers.setValue(this, lastChannelInterfaceValueId, ((IPartTypeInterfacePositionedAddon.IState) getPartState()).getChannelInterface());
//     }
// 
//     public int getLastChannelInterfaceValueId() {
//         return lastChannelInterfaceValueId;
//     }
// 
//     public int getLastChannelInterfaceValue() {
//         return ValueNotifierHelpers.getValueInt(this, lastChannelInterfaceValueId);
//     }
// 
//     @Override
//     protected void updatePartSettings() {
//         super.updatePartSettings();
//         ((IPartTypeInterfacePositionedAddon.IState) getPartState()).setChannelInterface(getLastChannelInterfaceValue());
//     }
// }


import net.minecraft.inventory.container.ContainerType;
import net.minecraft.item.Item;
import net.minecraftforge.registries.ObjectHolder;
import org.cyclops.integratedtunnels.core.part.ContainerInterfaceSettings;
package org.cyclops.integratedtunnels;


/**
 * Referenced registry entries.
 * @author rubensworks
 */
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")
// Path: src/main/java/org/cyclops/integratedtunnels/core/part/ContainerInterfaceSettings.java
// 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);
//         lastChannelInterfaceValueId = getNextValueId();
//     }
// 
//     @Override
//     protected int getPlayerInventoryOffsetY() {
//         return 134;
//     }
// 
//     @Override
//     protected void initializeValues() {
//         super.initializeValues();
//         ValueNotifierHelpers.setValue(this, lastChannelInterfaceValueId, ((IPartTypeInterfacePositionedAddon.IState) getPartState()).getChannelInterface());
//     }
// 
//     public int getLastChannelInterfaceValueId() {
//         return lastChannelInterfaceValueId;
//     }
// 
//     public int getLastChannelInterfaceValue() {
//         return ValueNotifierHelpers.getValueInt(this, lastChannelInterfaceValueId);
//     }
// 
//     @Override
//     protected void updatePartSettings() {
//         super.updatePartSettings();
//         ((IPartTypeInterfacePositionedAddon.IState) getPartState()).setChannelInterface(getLastChannelInterfaceValue());
//     }
// }


// Path: src/main/java/org/cyclops/integratedtunnels/RegistryEntries.java
import net.minecraft.inventory.container.ContainerType;
import net.minecraft.item.Item;
import net.minecraftforge.registries.ObjectHolder;
import org.cyclops.integratedtunnels.core.part.ContainerInterfaceSettings;

package org.cyclops.integratedtunnels;


/**
 * Referenced registry entries.
 * @author rubensworks
 */
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;