Search in sources :

Example 1 with SchematicTier2Rocket

use of micdoodle8.mods.galacticraft.planets.mars.schematic.SchematicTier2Rocket in project Galacticraft by micdoodle8.

the class MarsModule method init.

@Override
public void init(FMLInitializationEvent event) {
    this.registerMicroBlocks();
    SchematicRegistry.registerSchematicRecipe(new SchematicTier2Rocket());
    SchematicRegistry.registerSchematicRecipe(new SchematicCargoRocket());
    GalacticraftCore.packetPipeline.addDiscriminator(6, PacketSimpleMars.class);
    this.registerTileEntities();
    this.registerCreatures();
    this.registerOtherEntities();
    MarsModule.planetMars = (Planet) new Planet("mars").setParentSolarSystem(GalacticraftCore.solarSystemSol).setRingColorRGB(0.67F, 0.1F, 0.1F).setPhaseShift(0.1667F).setRelativeSize(0.5319F).setRelativeDistanceFromCenter(new CelestialBody.ScalableDistance(1.25F, 1.25F)).setRelativeOrbitTime(1.8811610076670317634173055859803F);
    MarsModule.planetMars.setBodyIcon(new ResourceLocation(Constants.ASSET_PREFIX, "textures/gui/celestialbodies/mars.png"));
    MarsModule.planetMars.setDimensionInfo(ConfigManagerMars.dimensionIDMars, WorldProviderMars.class).setTierRequired(2);
    MarsModule.planetMars.setAtmosphere(new AtmosphereInfo(false, false, false, -1.0F, 0.3F, 0.1F));
    MarsModule.planetMars.atmosphereComponent(EnumAtmosphericGas.CO2).atmosphereComponent(EnumAtmosphericGas.ARGON).atmosphereComponent(EnumAtmosphericGas.NITROGEN);
    MarsModule.planetMars.setBiomeInfo(BiomeGenBaseMars.marsFlat);
    MarsModule.planetMars.addMobInfo(new BiomeGenBase.SpawnListEntry(EntityEvolvedZombie.class, 8, 2, 3));
    MarsModule.planetMars.addMobInfo(new BiomeGenBase.SpawnListEntry(EntityEvolvedSpider.class, 8, 2, 3));
    MarsModule.planetMars.addMobInfo(new BiomeGenBase.SpawnListEntry(EntityEvolvedSkeleton.class, 8, 2, 3));
    MarsModule.planetMars.addMobInfo(new BiomeGenBase.SpawnListEntry(EntityEvolvedCreeper.class, 8, 2, 3));
    MarsModule.planetMars.addMobInfo(new BiomeGenBase.SpawnListEntry(EntityEvolvedEnderman.class, 10, 1, 4));
    MarsModule.planetMars.addChecklistKeys("equip_oxygen_suit", "thermal_padding");
    GalaxyRegistry.registerPlanet(MarsModule.planetMars);
    GalacticraftRegistry.registerTeleportType(WorldProviderMars.class, new TeleportTypeMars());
    GalacticraftRegistry.registerRocketGui(WorldProviderMars.class, new ResourceLocation(GalacticraftPlanets.ASSET_PREFIX, "textures/gui/mars_rocket_gui.png"));
    GalacticraftRegistry.addDungeonLoot(2, new ItemStack(MarsItems.schematic, 1, 0));
    GalacticraftRegistry.addDungeonLoot(2, new ItemStack(MarsItems.schematic, 1, 1));
    GalacticraftRegistry.addDungeonLoot(2, new ItemStack(MarsItems.schematic, 1, 2));
    CompressorRecipes.addShapelessRecipe(new ItemStack(MarsItems.marsItemBasic, 1, 3), new ItemStack(GCItems.heavyPlatingTier1), new ItemStack(GCItems.itemBasicMoon, 1, 1));
    CompressorRecipes.addShapelessRecipe(new ItemStack(MarsItems.marsItemBasic, 1, 5), new ItemStack(MarsItems.marsItemBasic, 1, 2));
    GalacticraftCore.proxy.registerFluidTexture(MarsModule.sludge, new ResourceLocation(GalacticraftPlanets.ASSET_PREFIX, "textures/misc/underbecterial.png"));
}
Also used : SchematicCargoRocket(micdoodle8.mods.galacticraft.planets.mars.schematic.SchematicCargoRocket) SchematicTier2Rocket(micdoodle8.mods.galacticraft.planets.mars.schematic.SchematicTier2Rocket) WorldProviderMars(micdoodle8.mods.galacticraft.planets.mars.dimension.WorldProviderMars) AtmosphereInfo(micdoodle8.mods.galacticraft.api.world.AtmosphereInfo) TeleportTypeMars(micdoodle8.mods.galacticraft.planets.mars.dimension.TeleportTypeMars) BiomeGenBase(net.minecraft.world.biome.BiomeGenBase) ResourceLocation(net.minecraft.util.ResourceLocation) Planet(micdoodle8.mods.galacticraft.api.galaxies.Planet) ItemStack(net.minecraft.item.ItemStack)

Aggregations

Planet (micdoodle8.mods.galacticraft.api.galaxies.Planet)1 AtmosphereInfo (micdoodle8.mods.galacticraft.api.world.AtmosphereInfo)1 TeleportTypeMars (micdoodle8.mods.galacticraft.planets.mars.dimension.TeleportTypeMars)1 WorldProviderMars (micdoodle8.mods.galacticraft.planets.mars.dimension.WorldProviderMars)1 SchematicCargoRocket (micdoodle8.mods.galacticraft.planets.mars.schematic.SchematicCargoRocket)1 SchematicTier2Rocket (micdoodle8.mods.galacticraft.planets.mars.schematic.SchematicTier2Rocket)1 ItemStack (net.minecraft.item.ItemStack)1 ResourceLocation (net.minecraft.util.ResourceLocation)1 BiomeGenBase (net.minecraft.world.biome.BiomeGenBase)1