Search in sources :

Example 1 with ModTrackingList

use of net.darkhax.bookshelf.lib.ModTrackingList in project Bookshelf by Darkhax-Minecraft.

the class Bookshelf method onConstruction.

@EventHandler
public void onConstruction(FMLConstructionEvent event) {
    CraftingManager.getInstance().recipes = new ModTrackingList(CraftingManager.getInstance().recipes);
    AnnotationUtils.asmData = event.getASMHarvestedData();
    MinecraftForge.EVENT_BUS.register(new BookshelfEvents());
}
Also used : ModTrackingList(net.darkhax.bookshelf.lib.ModTrackingList) EventHandler(net.minecraftforge.fml.common.Mod.EventHandler)

Aggregations

ModTrackingList (net.darkhax.bookshelf.lib.ModTrackingList)1 EventHandler (net.minecraftforge.fml.common.Mod.EventHandler)1