2020-04-15 14:22:03 +02:00
|
|
|
package com.minelittlepony.unicopia;
|
2020-01-27 17:37:22 +01:00
|
|
|
|
2020-04-15 14:22:03 +02:00
|
|
|
import com.minelittlepony.unicopia.container.BagOfHoldingContainer;
|
|
|
|
import com.minelittlepony.unicopia.container.SpellBookContainer;
|
2020-01-27 17:37:22 +01:00
|
|
|
|
|
|
|
import net.fabricmc.fabric.api.container.ContainerProviderRegistry;
|
|
|
|
import net.minecraft.util.Identifier;
|
|
|
|
|
2020-04-15 12:37:14 +02:00
|
|
|
public interface UContainers {
|
2020-01-27 17:37:22 +01:00
|
|
|
|
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-01-27 17:37:22 +01:00
|
|
|
|
2020-04-15 12:37:14 +02:00
|
|
|
static void bootstrap() {
|
2020-01-27 17:37:22 +01:00
|
|
|
ContainerProviderRegistry.INSTANCE.registerFactory(BAG_OF_HOLDING, BagOfHoldingContainer::new);
|
2020-04-15 12:37:14 +02:00
|
|
|
ContainerProviderRegistry.INSTANCE.registerFactory(SPELL_BOOK, SpellBookContainer::new);
|
2020-01-27 17:37:22 +01:00
|
|
|
}
|
|
|
|
}
|