mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-12-01 08:47:59 +01:00
18 lines
715 B
Java
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);
|
|
}
|
|
}
|