Unicopia/src/main/java/com/minelittlepony/unicopia/UContainers.java
2020-04-15 14:56:53 +02:00

18 lines
715 B
Java

package com.minelittlepony.unicopia;
import com.minelittlepony.unicopia.container.BagOfHoldingContainer;
import com.minelittlepony.unicopia.container.SpellBookContainer;
import net.fabricmc.fabric.api.container.ContainerProviderRegistry;
import net.minecraft.util.Identifier;
public interface UContainers {
Identifier BAG_OF_HOLDING = new Identifier(UnicopiaCore.MODID, "bag_of_holding");
Identifier SPELL_BOOK = new Identifier(UnicopiaCore.MODID, "spell_book");
static void bootstrap() {
ContainerProviderRegistry.INSTANCE.registerFactory(BAG_OF_HOLDING, BagOfHoldingContainer::new);
ContainerProviderRegistry.INSTANCE.registerFactory(SPELL_BOOK, SpellBookContainer::new);
}
}