package org.cyclops.cyclopscore.inventory.container;

import net.minecraft.world.inventory.AbstractContainerMenu;
import net.minecraft.world.inventory.MenuType;

/**
 * A {@link MenuType} for a {@link MenuType.MenuSupplier},
 * which enables additional information to be passed to containers using packet buffers.
 * This enables more convenient syntax via lambdas than the default {@link MenuType}.
 *
 * For example: `new ContainerTypeData(ContainerAbilityContainer::new))`.
 *
 * @author rubensworks
 */
public class ContainerTypeData<T extends AbstractContainerMenu> extends MenuType<T> {
    public ContainerTypeData(MenuType.MenuSupplier<T> factory) {
        super(factory);
    }
}

@@ -153,16 +153,69 @@
 enuType;
+%0Aimport net.minecraftforge.network.IContainerFactory;
 %0A%0A/**%0A *
@@ -668,37 +668,33 @@
 ypeData(
-MenuType.MenuSupplier
+IContainerFactory
 %3CT%3E fact

Fix incorrect ContainerTypeData constructor