Unicopia/src/main/java/com/minelittlepony/unicopia/UContainers.java

19 lines
715 B
Java
Raw Normal View History

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;
2020-04-15 12:37:14 +02:00
public interface UContainers {
2020-04-15 12:37:14 +02:00
Identifier BAG_OF_HOLDING = new Identifier(UnicopiaCore.MODID, "bag_of_holding");
Identifier SPELL_BOOK = new Identifier(UnicopiaCore.MODID, "spell_book");
2020-04-15 12:37:14 +02:00
static void bootstrap() {
ContainerProviderRegistry.INSTANCE.registerFactory(BAG_OF_HOLDING, BagOfHoldingContainer::new);
2020-04-15 12:37:14 +02:00
ContainerProviderRegistry.INSTANCE.registerFactory(SPELL_BOOK, SpellBookContainer::new);
}
}