Java 类net.minecraft.world.gen.structure.MapGenStructureIO 实例源码

项目:4Space-5    文件:MapGenVillageMoon.java   
public static void initiateStructures() throws Throwable
{
    if (!MapGenVillageMoon.initialized)
    {
        MapGenStructureIO.registerStructure(StructureVillageStartMoon.class, "MoonVillage");
        MapGenStructureIO.func_143031_a(StructureComponentVillageField.class, "MoonField1");
        MapGenStructureIO.func_143031_a(StructureComponentVillageField2.class, "MoonField2");
        MapGenStructureIO.func_143031_a(StructureComponentVillageHouse.class, "MoonHouse");
        MapGenStructureIO.func_143031_a(StructureComponentVillageRoadPiece.class, "MoonRoadPiece");
        MapGenStructureIO.func_143031_a(StructureComponentVillagePathGen.class, "MoonPath");
        MapGenStructureIO.func_143031_a(StructureComponentVillageTorch.class, "MoonTorch");
        MapGenStructureIO.func_143031_a(StructureComponentVillageStartPiece.class, "MoonWell");
        MapGenStructureIO.func_143031_a(StructureComponentVillageWoodHut.class, "MoonWoodHut");
    }

    MapGenVillageMoon.initialized = true;
}
项目:Toms-Mod    文件:VillageInit.java   
public static void init() {
    if (CoreInit.isInit()) {
        CoreInit.log.info("Loading Villager Handler");
        VillagerRegistry.instance().registerVillageCreationHandler(new VillageHouseScientist.VillageManager());
        professionScientist = new VillagerRegistry.VillagerProfession(CoreInit.modid + ":vScientist", "tomsmod:textures/models/villager_scientist.png", "textures/entity/zombie_villager/zombie_librarian.png");
        VillagerRegistry.instance().register(professionScientist);
        MapGenStructureIO.registerStructureComponent(VillageHouseScientist.class, Configs.Modid + ":vh_scientist");
        VillagerRegistry.VillagerCareer career1 = new VillagerRegistry.VillagerCareer(professionScientist, Configs.Modid + ":vScientist1");
        career1.addTrade(1, new CircuitRecipe(CraftingMaterial.ELECTRIC_MOTOR, 0.25F, 3));
        career1.addTrade(2, new CircuitRecipe(CraftingMaterial.BASIC_CIRCUIT, 1), new CircuitRecipe(CraftingMaterial.NORMAL_CIRCUIT, 2), new CircuitRecipe(CraftingMaterial.ADVANCED_CIRCUIT, 5));
        career1.addTrade(3, new EliteBlueprintRecipe());
        career1.addTrade(4, new CircuitRecipe(CraftingMaterial.ELITE_CIRCUIT, 12));
        career1.addTrade(5, new AdvFluixReactorBlueprintRecipe());
        career1.addTrade(6, new CircuitRecipe(CraftingMaterial.QUANTUM_CIRCUIT, 35));
    } else {
        CoreInit.log.fatal("Somebody tries to corrupt the villager handler!");
        throw new RuntimeException("Somebody tries to corrupt the villager handler!");
    }
}
项目:Aura-Cascade    文件:CommonProxy.java   
public void preInit(FMLPreInitializationEvent event) {
    Config.init(event);
    ModCreativeTab.INSTANCE = new ModCreativeTab();
    AngelsteelToolHelper.initMaterials();
    registry = new BlockRegistry();
    registry.preInit();
    EnchantEventHandler.init();
    networkWrapper = NetworkRegistry.INSTANCE.newSimpleChannel(ConstantMod.modId);
    networkWrapper.registerMessage(PacketBurst.class, PacketBurst.class, 0, Side.CLIENT);

    networkWrapper.registerMessage(PacketFairyUpdate.class, PacketFairyUpdate.class, 1, Side.CLIENT);
    networkWrapper.registerMessage(PacketFairyRequestUpdate.class, PacketFairyRequestUpdate.class, 2, Side.SERVER);
    networkWrapper.registerMessage(PacketAngelJump.PacketAngelJumpHandler.class, PacketAngelJump.class, 4, Side.SERVER);
    networkWrapper.registerMessage(PacketSyncQuestData.PacketSyncQuestDataHandler.class, PacketSyncQuestData.class, 5, Side.CLIENT);


    if (Config.villageGeneration) {
        VillagerRegistry.instance().registerVillageCreationHandler(new AuraHutHandler());
    }
    MapGenStructureIO.registerStructureComponent(ComponentAuraHut.class, "aura:auraHut");
}
项目:AbyssalCraft    文件:StructureOmotholPieces.java   
public static void registerOmotholPieces()
{
    MapGenStructureIO.registerStructureComponent(StructureOmotholPieces.House1.class, "OmtBH");
    MapGenStructureIO.registerStructureComponent(StructureOmotholPieces.Field1.class, "OmtDF");
    MapGenStructureIO.registerStructureComponent(StructureOmotholPieces.Field2.class, "OmtF");
    MapGenStructureIO.registerStructureComponent(StructureOmotholPieces.Torch.class, "OmtL");
    MapGenStructureIO.registerStructureComponent(StructureOmotholPieces.Hall.class, "OmtPH");
    MapGenStructureIO.registerStructureComponent(StructureOmotholPieces.House4Garden.class, "OmtSH");
    MapGenStructureIO.registerStructureComponent(StructureOmotholPieces.WoodHut.class, "OmtSmH");
    MapGenStructureIO.registerStructureComponent(StructureOmotholPieces.Church.class, "OmtST");
    MapGenStructureIO.registerStructureComponent(StructureOmotholPieces.House2.class, "OmtS");
    MapGenStructureIO.registerStructureComponent(StructureOmotholPieces.Start.class, "OmtStart");
    MapGenStructureIO.registerStructureComponent(StructureOmotholPieces.Path.class, "OmtSR");
    MapGenStructureIO.registerStructureComponent(StructureOmotholPieces.House3.class, "OmtTRH");
    MapGenStructureIO.registerStructureComponent(StructureOmotholPieces.HouseBanker.class, "OmtBH");
    MapGenStructureIO.registerStructureComponent(StructureOmotholPieces.Well.class, "OmtW");
}
项目:RuneCraftery    文件:StructureNetherBridgePieces.java   
public static void func_143049_a() {
   MapGenStructureIO.func_143031_a(ComponentNetherBridgeCrossing3.class, "NeBCr");
   MapGenStructureIO.func_143031_a(ComponentNetherBridgeEnd.class, "NeBEF");
   MapGenStructureIO.func_143031_a(ComponentNetherBridgeStraight.class, "NeBS");
   MapGenStructureIO.func_143031_a(ComponentNetherBridgeCorridor3.class, "NeCCS");
   MapGenStructureIO.func_143031_a(ComponentNetherBridgeCorridor4.class, "NeCTB");
   MapGenStructureIO.func_143031_a(ComponentNetherBridgeEntrance.class, "NeCE");
   MapGenStructureIO.func_143031_a(ComponentNetherBridgeCrossing2.class, "NeSCSC");
   MapGenStructureIO.func_143031_a(ComponentNetherBridgeCorridor.class, "NeSCLT");
   MapGenStructureIO.func_143031_a(ComponentNetherBridgeCorridor5.class, "NeSC");
   MapGenStructureIO.func_143031_a(ComponentNetherBridgeCorridor2.class, "NeSCRT");
   MapGenStructureIO.func_143031_a(ComponentNetherBridgeNetherStalkRoom.class, "NeCSR");
   MapGenStructureIO.func_143031_a(ComponentNetherBridgeThrone.class, "NeMT");
   MapGenStructureIO.func_143031_a(ComponentNetherBridgeCrossing.class, "NeRC");
   MapGenStructureIO.func_143031_a(ComponentNetherBridgeStairs.class, "NeSR");
   MapGenStructureIO.func_143031_a(ComponentNetherBridgeStartPiece.class, "NeStart");
}
项目:RuneCraftery    文件:MapGenStructure.java   
private void func_143027_a(World p_143027_1_) {
   if(this.field_143029_e == null) {
      this.field_143029_e = (MapGenStructureData)p_143027_1_.func_72943_a(MapGenStructureData.class, this.func_143025_a());
      if(this.field_143029_e == null) {
         this.field_143029_e = new MapGenStructureData(this.func_143025_a());
         p_143027_1_.func_72823_a(this.func_143025_a(), this.field_143029_e);
      } else {
         NBTTagCompound var2 = this.field_143029_e.func_143041_a();
         Iterator var3 = var2.func_74758_c().iterator();

         while(var3.hasNext()) {
            NBTBase var4 = (NBTBase)var3.next();
            if(var4.func_74732_a() == 10) {
               NBTTagCompound var5 = (NBTTagCompound)var4;
               if(var5.func_74764_b("ChunkX") && var5.func_74764_b("ChunkZ")) {
                  int var6 = var5.func_74762_e("ChunkX");
                  int var7 = var5.func_74762_e("ChunkZ");
                  StructureStart var8 = MapGenStructureIO.func_143035_a(var5, p_143027_1_);
                  this.field_75053_d.put(Long.valueOf(ChunkCoordIntPair.func_77272_a(var6, var7)), var8);
               }
            }
         }
      }
   }

}
项目:RuneCraftery    文件:StructureStart.java   
public NBTTagCompound func_143021_a(int p_143021_1_, int p_143021_2_) {
   NBTTagCompound var3 = new NBTTagCompound();
   var3.func_74778_a("id", MapGenStructureIO.func_143033_a(this));
   var3.func_74768_a("ChunkX", p_143021_1_);
   var3.func_74768_a("ChunkZ", p_143021_2_);
   var3.func_74782_a("BB", this.field_75074_b.func_143047_a("BB"));
   NBTTagList var4 = new NBTTagList("Children");
   Iterator var5 = this.field_75075_a.iterator();

   while(var5.hasNext()) {
      StructureComponent var6 = (StructureComponent)var5.next();
      var4.func_74742_a(var6.func_143010_b());
   }

   var3.func_74782_a("Children", var4);
   this.func_143022_a(var3);
   return var3;
}
项目:TheStuffMod    文件:allthethings.java   
@Mod.EventHandler
public void init(FMLInitializationEvent event) {
    ModBlocksPreItems.init();
    ModMisc.init();
    ModOreDictRegister.init();
    ModTileEntities.init();
    ModAchievements.init();
    ModBiomes.init();
    ModEntities.init();
    ModPotions.init();
    ModDungeonLoot.init();
    proxy.registerRenderers();
    GameRegistry.registerFuelHandler(new FuelHandler());
    GameRegistry.registerWorldGenerator(new ModWorldGen(), 0);
    VillagerRegistry.instance().registerVillageCreationHandler(new VillageHouseHandler());
    MapGenStructureIO.func_143031_a(VillageStructureHouse.class, Reference.MOD_ID+":HouseStructure");
    MinecraftForge.EVENT_BUS.register(BucketHandler.INSTANCE);
    MinecraftForge.EVENT_BUS.register(new ChatHandler());
    MinecraftForge.TERRAIN_GEN_BUS.register(new FlowerHandler());
    LogHelper.info("World Gen initialised successfully!");
    NetworkRegistry.INSTANCE.registerGuiHandler(this, new GuiHandler());
}
项目:4-Space-Legacy    文件:SCVenusMapGenVillage.java   
public static void initiateStructures() throws Throwable
{
    if (!SCVenusMapGenVillage.initialized)
    {
        MapGenStructureIO.func_143034_b(SCVenusStructureVillageStart.class, "VenusVillage");
        MapGenStructureIO.func_143031_a(SCVenusComponentVillageField.class, "VenusField1");
        MapGenStructureIO.func_143031_a(SCVenusComponentVillageField2.class, "VenusField2");
        MapGenStructureIO.func_143031_a(SCVenusComponentVillageHouse.class, "VenusHouse");
        MapGenStructureIO.func_143031_a(SCVenusComponentVillageRoadPiece.class, "VenusRoadPiece");
        MapGenStructureIO.func_143031_a(SCVenusComponentVillagePathGen.class, "VenusPath");
        MapGenStructureIO.func_143031_a(SCVenusComponentVillageTorch.class, "VenusTorch");
        MapGenStructureIO.func_143031_a(SCVenusComponentVillageStartPiece.class, "VenusWell");
        MapGenStructureIO.func_143031_a(SCVenusComponentVillageWoodHut.class, "VenusWoodHut");
    }

    SCVenusMapGenVillage.initialized = true;
}
项目:BetterThanWeagles    文件:CommonProxy.java   
@SubscribeEvent
public static void registerVillagers(RegistryEvent.Register<VillagerRegistry.VillagerProfession> event)
{
    VillagerRegistry.instance().registerVillageCreationHandler(new VillagerStructures.CaveHandler());
    MapGenStructureIO.registerStructureComponent(VillagerStructures.Cave.class, "btweagles:caveStructure");

    event.getRegistry().register(ModVillagers.professionKrog);
    event.getRegistry().register(ModVillagers.professionTorg);
}
项目:Dailies    文件:CommonProxy.java   
public void preInit(FMLPreInitializationEvent e) {
    CapabilityDailiesHandler.register();
    DailiesPacketHandler.init();
    NetworkRegistry.INSTANCE.registerGuiHandler(DailiesMod.instance, new DailiesGuiHandler());
    MapGenStructureIO.registerStructureComponent(BaileysShopVillagePiece.class, "baileyshop");
    VillagerRegistry.instance().registerVillageCreationHandler(new VillageHandlerBailey());
}
项目:4Space-5    文件:VillageMapGen.java   
public void initiateStructures() throws Throwable {
    if (!VillageMapGen.initialized) {
        MapGenStructureIO.registerStructure(VillageStructureStart.class, settings.planetName + "Village");
        MapGenStructureIO.func_143031_a(VillageStructureComponentField.class, settings.planetName + "Field1");
        MapGenStructureIO.func_143031_a(VillageStructureComponentField2.class, settings.planetName + "Field2");
        MapGenStructureIO.func_143031_a(VillageStructureComponentHouse.class, settings.planetName + "House");
        MapGenStructureIO.func_143031_a(VillageStructureComponentRoadPiece.class, settings.planetName + "RoadPiece");
        MapGenStructureIO.func_143031_a(VillageStructureComponentPathGen.class, settings.planetName + "Path");
        MapGenStructureIO.func_143031_a(VillageStructureComponentTorch.class, settings.planetName + "Torch");
        MapGenStructureIO.func_143031_a(VillageStructureComponentStartPiece.class, settings.planetName + "Well");
        MapGenStructureIO.func_143031_a(VillageStructureComponentWoodHut.class, settings.planetName + "WoodHut");
    }

    VillageMapGen.initialized = true;
}
项目:LightningCraft    文件:LCStructures.java   
private static void registerStructures() {
    // Underworld Water Temple
    MapGenStructureIO.registerStructure(MapGenUnderworldWaterTemple.Start.class, underworldWaterTempleName);
    MapGenStructureIO.registerStructureComponent(UnderworldWaterTemple.class, underworldWaterTempleName + "pc");

    // Underworld Tower
    MapGenStructureIO.registerStructure(MapGenUnderworldTower.Start.class, underworldTowerName);
    MapGenStructureIO.registerStructureComponent(UnderworldTower.class, underworldTowerName + "pc");

    // Underworld Rampart
    MapGenStructureIO.registerStructure(MapGenUnderworldRampart.Start.class, underworldRampartName);
    MapGenStructureIO.registerStructureComponent(UnderworldRampart.class, underworldRampartName + "pc");

}
项目:AntiMatterMod    文件:AntiMatterModRegistry.java   
static void registerInit(@SuppressWarnings("UnusedParameters") FMLInitializationEvent event) {

        //TileEntityの登録 =============================================================================================

        GameRegistry.registerTileEntity(TileEntityClayCrucible.class, "tileClayCrucible");
        GameRegistry.registerTileEntity(TileEntityClayCrucibleHeater.class, "tileClayCrucibleHeater");

        //WorldGeneratorの登録 =========================================================================================
        GameRegistry.registerWorldGenerator(new OreGenerator(), 2);

        //チャンク生成イベントのフック
        MinecraftForge.EVENT_BUS.register(new AMMStructureEventHandler());

        MapGenStructureIO.registerStructure(StructureTestStart.class, "Test");
        MapGenStructureIO.func_143031_a(StructureTestStart.ComponentTest1.class, "Test1");
        MapGenStructureIO.func_143031_a(StructureTestStart.ComponentTest2.class, "Test2");
        MapGenStructureIO.func_143031_a(StructureTestStart.ComponentTest3.class, "Test3");
        MapGenStructureIO.func_143031_a(StructureTestStart.ComponentTest4.class, "Test4");

        MapGenStructureIO.registerStructure(StructureTiamatStart.class, "TiamatComet");
        MapGenStructureIO.func_143031_a(ComponentTiamatCenter.class, "TiamaitCometCenter");
        MapGenStructureIO.func_143031_a(ComponentTiamatCenterLine.class, "TiamatCometCenterLine");

        EntityRegistry.registerModEntity(EntityHoeHoeMan.class, "HoeHoeMan", 0, AntiMatterModCore.MOD_ID, 250, 1, false);//中ボスの追加
        if (FMLCommonHandler.instance().getSide() == Side.CLIENT) {
            RenderingRegistry.registerEntityRenderingHandler(EntityHoeHoeMan.class, new RenderHoeHoeMan());
        }

        //村のチェストの中身============================================================================================
        //ChestGenHooks.addItem(ChestGenHooks.VILLAGE_BLACKSMITH, new WeightedRandomChestContent(ingot_01,1,1,5,5));
        //ChestGenHooks.addItem(ChestGenHooks.VILLAGE_BLACKSMITH, new WeightedRandomChestContent(ingot_01,2,1,5,5));
        ChestGenHooks village =ChestGenHooks.getInfo(ChestGenHooks.VILLAGE_BLACKSMITH);
        village.setMax(village.getMax()+10);
        village.setMin(village.getMin()+10);
    }
项目:SimpleCorn    文件:MasterRegistrar.java   
public static void callRegistry(FMLPreInitializationEvent e) {
    register(e, ObjectList.getItemList());
    register(e, ObjectList.getBlockList());
    Recipes.register();
    if(e.getSide() == Side.CLIENT){
            RenderingRegistry.registerEntityRenderingHandler(MyEntityFireworkRocket.class, RenderFireworkEntity.INSTANCE);
    }
    EntityRegistry.registerModEntity(new ResourceLocation("simplecorn:entitypopfirework"),MyEntityFireworkRocket.class, "entitypopfirework", 132, Corn.instance, 64, 3, true);

    MapGenStructureIO.registerStructureComponent(ComponentCornField.class, "Vicf");
    VillagerRegistry.instance().registerVillageCreationHandler(new CornWorldGen());
    RecipeSorter.register("simplecorn:fireworks", MyRecipeFireworks.class, Category.SHAPELESS, "after:minecraft:fireworks");
}
项目:Carnival    文件:ModWorld.java   
public static void init()
{
    LogHelper.info("Init World Stuff");
    VillagerRegistry.instance().registerVillageCreationHandler(new VillageBigTop.VillageManager());

    try{
        LogHelper.info("Trying to add big top");
        MapGenStructureIO.func_143031_a(VillageBigTop.class, "CarnivalVillageBigTop");
    }catch (Exception e){
        LogHelper.info("No Big top for you");
    }

}
项目:4Space-1.7    文件:MapGenVillageVenus.java   
public static void initiateStructures() throws Throwable {
    if (!MapGenVillageVenus.initialized) {
        MapGenStructureIO.registerStructure(StructureVillageStartVenus.class, "VenusVillage");
        MapGenStructureIO.func_143031_a(StructureComponentVenusVillageField.class, "VenusField1");
        MapGenStructureIO.func_143031_a(StructureComponentVenusVillageField2.class, "VenusField2");
        MapGenStructureIO.func_143031_a(StructureComponentVenusVillageHouse.class, "VenusHouse");
        MapGenStructureIO.func_143031_a(StructureComponentVenusVillageRoadPiece.class, "VenusRoadPiece");
        MapGenStructureIO.func_143031_a(StructureComponentVenusVillagePathGen.class, "VenusPath");
        MapGenStructureIO.func_143031_a(StructureComponentVenusVillageTorch.class, "VenusTorch");
        MapGenStructureIO.func_143031_a(StructureComponentVenusVillageStartPiece.class, "VenusWell");
        MapGenStructureIO.func_143031_a(StructureComponentVenusVillageWoodHut.class, "VenusWoodHut");
    }
    MapGenVillageVenus.initialized = true;
}
项目:Magicians-Artifice    文件:MAEntityRegistry.java   
private static void registerVillagers() {
       try {
           MapGenStructureIO.func_143031_a(ComponentMageTower.class, ModInfo.MODID + ":MageTower");
       }
       catch (Throwable e2) {
           MagiciansArtifice.logger.error("Error registering Magician's Artifice Structures with Vanilla Minecraft: this is expected in versions earlier than 1.7.2");
       }
       VillageHandlerMagician villageHandler = new VillageHandlerMagician();
    VillagerRegistry.instance().registerVillagerId(villagerID);
    VillagerRegistry.instance().registerVillageTradeHandler(villagerID, villageHandler);
       VillagerRegistry.instance().registerVillageCreationHandler(new VillageHandlerMagician());
}
项目:AbyssalCraft    文件:WorldHandler.java   
@Override
public void init(FMLInitializationEvent event) {
    MapGenStructureIO.registerStructure(MapGenAbyStronghold.Start.class, "AbyStronghold");
    StructureAbyStrongholdPieces.registerStructurePieces();
    MapGenStructureIO.registerStructure(StructureDreadlandsMineStart.class, "DreadMine");
    StructureDreadlandsMinePieces.registerStructurePieces();
    MapGenStructureIO.registerStructure(MapGenOmothol.Start.class, "Omothol");
    StructureOmotholPieces.registerOmotholPieces();
    GameRegistry.registerWorldGenerator(new AbyssalCraftWorldGenerator(), 0);
}
项目:AbyssalCraft    文件:StructureAbyStrongholdPieces.java   
public static void registerStructurePieces()
{
    MapGenStructureIO.registerStructureComponent(StructureAbyStrongholdPieces.ChestCorridor.class, "SHACC");
    MapGenStructureIO.registerStructureComponent(StructureAbyStrongholdPieces.Corridor.class, "SHAFC");
    MapGenStructureIO.registerStructureComponent(StructureAbyStrongholdPieces.Crossing.class, "SHA5C");
    MapGenStructureIO.registerStructureComponent(StructureAbyStrongholdPieces.LeftTurn.class, "SHALT");
    MapGenStructureIO.registerStructureComponent(StructureAbyStrongholdPieces.PortalRoom.class, "SHAPR");
    MapGenStructureIO.registerStructureComponent(StructureAbyStrongholdPieces.Prison.class, "SHAPH");
    MapGenStructureIO.registerStructureComponent(StructureAbyStrongholdPieces.RightTurn.class, "SHART");
    MapGenStructureIO.registerStructureComponent(StructureAbyStrongholdPieces.RoomCrossing.class, "SHARC");
    MapGenStructureIO.registerStructureComponent(StructureAbyStrongholdPieces.Stairs.class, "SHASD");
    MapGenStructureIO.registerStructureComponent(StructureAbyStrongholdPieces.Stairs2.class, "SHAStart");
    MapGenStructureIO.registerStructureComponent(StructureAbyStrongholdPieces.Straight.class, "SHAS");
    MapGenStructureIO.registerStructureComponent(StructureAbyStrongholdPieces.StairsStraight.class, "SHASSD");
}
项目:AbyssalCraft    文件:StructureDreadlandsMinePieces.java   
public static void registerStructurePieces()
{
    MapGenStructureIO.registerStructureComponent(StructureDreadlandsMinePieces.Corridor.class, "DLMSCorridor");
    MapGenStructureIO.registerStructureComponent(StructureDreadlandsMinePieces.Cross.class, "DLMSCrossing");
    MapGenStructureIO.registerStructureComponent(StructureDreadlandsMinePieces.Room.class, "DLMSRoom");
    MapGenStructureIO.registerStructureComponent(StructureDreadlandsMinePieces.Stairs.class, "DLMSStairs");
}
项目:RuneCraftery    文件:StructureStrongholdPieces.java   
public static void func_143046_a() {
   MapGenStructureIO.func_143031_a(ComponentStrongholdChestCorridor.class, "SHCC");
   MapGenStructureIO.func_143031_a(ComponentStrongholdCorridor.class, "SHFC");
   MapGenStructureIO.func_143031_a(ComponentStrongholdCrossing.class, "SH5C");
   MapGenStructureIO.func_143031_a(ComponentStrongholdLeftTurn.class, "SHLT");
   MapGenStructureIO.func_143031_a(ComponentStrongholdLibrary.class, "SHLi");
   MapGenStructureIO.func_143031_a(ComponentStrongholdPortalRoom.class, "SHPR");
   MapGenStructureIO.func_143031_a(ComponentStrongholdPrison.class, "SHPH");
   MapGenStructureIO.func_143031_a(ComponentStrongholdRightTurn.class, "SHRT");
   MapGenStructureIO.func_143031_a(ComponentStrongholdRoomCrossing.class, "SHRC");
   MapGenStructureIO.func_143031_a(ComponentStrongholdStairs.class, "SHSD");
   MapGenStructureIO.func_143031_a(ComponentStrongholdStairs2.class, "SHStart");
   MapGenStructureIO.func_143031_a(ComponentStrongholdStraight.class, "SHS");
   MapGenStructureIO.func_143031_a(ComponentStrongholdStairsStraight.class, "SHSSD");
}
项目:RuneCraftery    文件:StructureStart.java   
public void func_143020_a(World p_143020_1_, NBTTagCompound p_143020_2_) {
   this.field_143024_c = p_143020_2_.func_74762_e("ChunkX");
   this.field_143023_d = p_143020_2_.func_74762_e("ChunkZ");
   if(p_143020_2_.func_74764_b("BB")) {
      this.field_75074_b = new StructureBoundingBox(p_143020_2_.func_74759_k("BB"));
   }

   NBTTagList var3 = p_143020_2_.func_74761_m("Children");

   for(int var4 = 0; var4 < var3.func_74745_c(); ++var4) {
      this.field_75075_a.add(MapGenStructureIO.func_143032_b((NBTTagCompound)var3.func_74743_b(var4), p_143020_1_));
   }

   this.func_143017_b(p_143020_2_);
}
项目:RuneCraftery    文件:StructureComponent.java   
public NBTTagCompound func_143010_b() {
   NBTTagCompound var1 = new NBTTagCompound();
   var1.func_74778_a("id", MapGenStructureIO.func_143036_a(this));
   var1.func_74782_a("BB", this.field_74887_e.func_143047_a("BB"));
   var1.func_74768_a("O", this.field_74885_f);
   var1.func_74768_a("GD", this.field_74886_g);
   this.func_143012_a(var1);
   return var1;
}
项目:RuneCraftery    文件:StructureVillagePieces.java   
public static void func_143016_a() {
   MapGenStructureIO.func_143031_a(ComponentVillageHouse1.class, "ViBH");
   MapGenStructureIO.func_143031_a(ComponentVillageField.class, "ViDF");
   MapGenStructureIO.func_143031_a(ComponentVillageField2.class, "ViF");
   MapGenStructureIO.func_143031_a(ComponentVillageTorch.class, "ViL");
   MapGenStructureIO.func_143031_a(ComponentVillageHall.class, "ViPH");
   MapGenStructureIO.func_143031_a(ComponentVillageHouse4_Garden.class, "ViSH");
   MapGenStructureIO.func_143031_a(ComponentVillageWoodHut.class, "ViSmH");
   MapGenStructureIO.func_143031_a(ComponentVillageChurch.class, "ViST");
   MapGenStructureIO.func_143031_a(ComponentVillageHouse2.class, "ViS");
   MapGenStructureIO.func_143031_a(ComponentVillageStartPiece.class, "ViStart");
   MapGenStructureIO.func_143031_a(ComponentVillagePathGen.class, "ViSR");
   MapGenStructureIO.func_143031_a(ComponentVillageHouse3.class, "ViTRH");
   MapGenStructureIO.func_143031_a(ComponentVillageWell.class, "ViW");
}
项目:WuppyMods    文件:ModGeneration.java   
public static void init()
{
    //register MapGens Savannah
    MapGenStructureIO.registerStructure(StructureMineshaftStartSavannah.class, "Mineshaft_Savannah");
    StructureMineshaftPiecesSavannah.registerStructurePieces();

    // generation
    GameRegistry.registerWorldGenerator(new ModGeneration(), 0);

    // dimension
    DimensionManager.registerProviderType(dimension, WorldProviderGoblinsGiantsSavannah.class, false);
    DimensionManager.registerDimension(dimension, dimension);
}
项目:WuppyMods    文件:StructureMineshaftPiecesSavannah.java   
public static void registerStructurePieces()
{
    MapGenStructureIO.func_143031_a(StructureMineshaftPiecesSavannah.Corridor.class, "MSCorridorSav");
    MapGenStructureIO.func_143031_a(StructureMineshaftPiecesSavannah.Cross.class, "MSCrossingSav");
    MapGenStructureIO.func_143031_a(StructureMineshaftPiecesSavannah.Room.class, "MSRoomSav");
    MapGenStructureIO.func_143031_a(StructureMineshaftPiecesSavannah.Stairs.class, "MSStairsSav");
}
项目:CrystalMod    文件:CommonProxy.java   
public void preInit(FMLPreInitializationEvent e) {
    modConfigDir = e.getModConfigurationDirectory();
       mainConfig = new Configuration(new File(modConfigDir.getPath() + File.separator + "crystalmod", "crystalmod.cfg"));
       readMainConfig();

       MinecraftForge.EVENT_BUS.register(new Config());
       MinecraftForge.EVENT_BUS.register(new MissingItemHandler());


       ModFluids.registerFluids();
    ModBlocks.init();
    ModItems.init();
    ModCrops.init();
    ModCrafting.preInit();
    ModEntites.init();
       ItemMobEssence.initDefaultMobs();
       ModBats.registerBats();
       ModBats.registerUpgrades();


       CapabilityManager.INSTANCE.register(ExtendedPlayer.class, new ExtendedPlayerProvider.Storage(), ExtendedPlayer.class);
       CapabilityCrystalEnergy.register();

       CrystalModWorldGenerator generator = CrystalModWorldGenerator.instance;
       GameRegistry.registerWorldGenerator(generator, 5);

       MapGenStructureIO.registerStructure(MapGenFusionTemple.Start.class, CrystalMod.resource("fusiontemplestart"));
       MapGenStructureIO.registerStructureComponent(FusionTempleStructure.class, CrystalMod.resource("fusiontemple"));
       MapGenStructureIO.registerStructure(MapGenCrystexiumSpike.Start.class, CrystalMod.resource("crystexiumspikestart"));
       MapGenStructureIO.registerStructureComponent(CrystexiumSpikeStructure.class, CrystalMod.resource("crystexiumspike"));
       MapGenStructureIO.registerStructureComponent(VillageCornField.class, CrystalMod.resource("villagecornfield"));



       MinecraftForge.EVENT_BUS.register(generator);

       MinecraftForge.EVENT_BUS.register(DropCapture.instance);

       MinecraftForge.EVENT_BUS.register(new DisguiseHandler());

       PlayerCubeChunkLoaderManager.init();
       ForgeChunkManager.setForcedChunkLoadingCallback(CrystalMod.instance, new WorksiteChunkLoader());

       ModIntegration.register();
       ModIntegration.preInit();
}
项目:ToroQuest    文件:VillageHandlerGuardTower2.java   
public static void init() {
    MapGenStructureIO.registerStructureComponent(VillagePieceGuardTower2.class, NAME);
    VillagerRegistry.instance().registerVillageCreationHandler(new VillageHandlerGuardTower2());
}
项目:ToroQuest    文件:VillageHandlerBarracks.java   
public static void init() {
    MapGenStructureIO.registerStructureComponent(VillagePieceBarracks.class, NAME);
    VillagerRegistry.instance().registerVillageCreationHandler(new VillageHandlerBarracks());
}
项目:ToroQuest    文件:VillageHandlerCabin.java   
public static void init() {
    MapGenStructureIO.registerStructureComponent(VillagePieceCabin.class, NAME);
    VillagerRegistry.instance().registerVillageCreationHandler(new VillageHandlerCabin());
}
项目:ToroQuest    文件:VillageHandlerGuardTower.java   
public static void init() {
    MapGenStructureIO.registerStructureComponent(VillagePieceGuardTower.class, NAME);
    VillagerRegistry.instance().registerVillageCreationHandler(new VillageHandlerGuardTower());
}
项目:ToroQuest    文件:VillageHandlerShop.java   
public static void init() {
    MapGenStructureIO.registerStructureComponent(VillagePieceShop.class, NAME);
    VillagerRegistry.instance().registerVillageCreationHandler(new VillageHandlerShop());
}
项目:ToroQuest    文件:VillageHandlerTrophy.java   
public static void init() {
    MapGenStructureIO.registerStructureComponent(VillagePieceTrophy.class, NAME);
    VillagerRegistry.instance().registerVillageCreationHandler(new VillageHandlerTrophy());
}
项目:ToroQuest    文件:VillageHandlerKeep.java   
public static void init() {
    MapGenStructureIO.registerStructureComponent(VillagePieceKeep.class, NAME);
    VillagerRegistry.instance().registerVillageCreationHandler(new VillageHandlerKeep());
}
项目:PopularMMOS-EpicProportions-Mod    文件:StructureVillagePieces.java   
public static void registerVillagePieces()
{
    MapGenStructureIO.func_143031_a(StructureVillagePieces.HouseOfEpicProportions.class, "HOEP");
    }
项目:Coding    文件:CatapultTower.java   
public static void addVillagePiece(@SuppressWarnings("rawtypes") Class c, String s) { 
    try { 
        MapGenStructureIO.func_143031_a(c, s); 
    } 
    catch (Exception localException) {} 
}
项目:Coding    文件:BallistaTower.java   
public static void addVillagePiece(@SuppressWarnings("rawtypes") Class c, String s) { 
    try { 
        MapGenStructureIO.func_143031_a(c, s); 
    } 
    catch (Exception localException) {} 
}
项目:Coding    文件:MyVillageComponents.java   
public static void addVillagePiece(@SuppressWarnings("rawtypes") Class c, String s) { 
    try { 
        MapGenStructureIO.func_143031_a(c, s); 
    } 
    catch (Exception localException) {} 
}
项目:Coding    文件:VillageKingCastle.java   
public static void addVillagePiece(@SuppressWarnings("rawtypes") Class c, String s) { 
    try { 
        MapGenStructureIO.func_143031_a(c, s); 
    } 
    catch (Exception localException) {} 
}