Examples of VillagerTradeHandler


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
Copyright © 2018 www.massapi.com. 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.