Package mods.railcraft.common.worldgen

Examples of mods.railcraft.common.worldgen.VillagerTradeHandler


    @Override
    public void preInit() {
        if (RailcraftConfig.isWorldGenEnabled("workshop")) {
            int id = RailcraftConfig.villagerID();
            VillagerRegistry.instance().registerVillagerId(id);
            VillagerRegistry.instance().registerVillageTradeHandler(id, new VillagerTradeHandler());
            VillagerRegistry.instance().registerVillageCreationHandler(new WorkshopCreationHandeler());
            try {
                MapGenStructureIO.func_143031_a(ComponentWorkshop.class, "railcraft:workshop");
            } catch (Throwable e) {
            }
View Full Code Here

TOP

Related Classes of mods.railcraft.common.worldgen.VillagerTradeHandler

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.