use of net.darkhax.bookshelf.registry.RegistryHelper in project Bookshelf by Darkhax-Minecraft.
the class ChestTest method preInit.
@EventHandler
public void preInit(FMLPreInitializationEvent event) {
MinecraftForge.EVENT_BUS.register(new BookshelfEvents());
final RegistryHelper registry = new RegistryHelper("chesttest");
registry.setTab(CreativeTabs.MISC);
final ChestBuilder builder = new ChestBuilder("chesttest", true);
builder.addChestType("one", "two", "three");
builder.register(registry);
}
use of net.darkhax.bookshelf.registry.RegistryHelper in project Bookshelf by Darkhax-Minecraft.
the class ChestTestTwo method preInit.
@EventHandler
public void preInit(FMLPreInitializationEvent event) {
MinecraftForge.EVENT_BUS.register(new BookshelfEvents());
final RegistryHelper registry = new RegistryHelper("chesttesttwo");
registry.setTab(CreativeTabs.MISC);
final ChestBuilder builder = new ChestBuilder("chesttesttwo", true);
builder.addChestType("four");
builder.register(registry);
}
Aggregations